-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Create a torus primitve #155
#1184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
looks good to me. @ngokevin? |
|
@IagoLast thanks a lot! can you squash your commits? |
|
tube is radiusTubular |
docs/primitives/a-torus.md
Outdated
|
|
||
| ## Attributes | ||
|
|
||
| Note that the box primitive inherits common [mesh attributes](./mesh-attributes.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/box/torus
|
Thanks for doing this! |
|
|
||
| mappings: { | ||
| 'radius': 'geometry.radius', | ||
| 'tube': 'geometry.radiusTubular', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep this as radius-tubular
|
Thanks! I'm gonna make a few small changes myself in another commit. |
Create a `torus` primitive #155
Torus primitive was implemented, notice that
tubeattribute is not working yet, probably (not sure) because is not included in geometry schema.I´ve created a simple example:

(yep, it´s a face ^^)