Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
sweep on a 3d curve or bridging curve - any way to control normal/tangent?
Lyle_Walsh
Member Posts: 46 ✭
I am trying to make a tubing support that has an open groove facing upward while turning it down and then toward the back (traveling neg x then neg z then neg y} all while maintaining the groove at the top. What I want is a continuation of the grey curve into the blue curve or the blue curve where the slot/groove is always up.
Bridging curve and 3d curve seem to be missing controls for 3d bezier handles or normal/tangent handles. Can I do this with Onshape?
Bridging curve and 3d curve seem to be missing controls for 3d bezier handles or normal/tangent handles. Can I do this with Onshape?
Tagged:
0
Comments
Alternatively, you could create the sweep in several "planar" sections. That way the normal vector variation would stay planar, and "up" would stay up.
https://cad.onshape.com/documents/57acdfaae4b005c413ed9b6f/w/3fd585a46d3af1b3ba413c53/e/b9d81dfab0fcc542dc827099
Questions: 1) how close to the sweep curve does the normal surface have to sit? Do variances in distance disturb its operation, for example how does it choose which point on the normal surface to use for the normal direction?
2) where do you suggest I start learning about using featurescripts?
Thank you also philip_thomas, I realize I was being lazy and I need to make a clean simple example. I will put something together tomorrow. It seems Mahir has a solution that will work and I will try to learn how to use the featurescripts next. Just FYI the mesh modeling program Blender does this by including normals within curves and you use a modifier feature called bevel object as the "sweep" feature. Its an old and fiddly feature, Id much rather use sweep in onshape. This is an interesting area where the organic modeling at which Blender excels overlaps with the needs of Cad with its high precision.
2) I tend to learn by doing and from examples. I'm sure there are some FeatureScript tutorials laying around. Here's one. But the easiest way would be to find a FS that does something similar to what you want to accomplish, and dissect its code.
A note: you don't need to learn any FeatureScript to use mahir's custom feature. Just press the '+' button in your toolbar while visiting his document to add his feature to your toolbar, then you can use his feature in any of your part studios! (custom features that you've added show up in the toolbar dropdown that looks like a pair of {brackets} surrounding a cube.) No need to learn any new coding concepts! (Unless of course you want to )
https://www.onshape.com/featurescript
Great example, thank you that is exactly what I am trying todo! And thanks Jake_Rosenfeld , that explanation of how to add custom features to the toolbar was what I needed.
is my rather busy file
https://cad.onshape.com/documents/57ef018093832a1090983bfe/w/58bcbe4474554bfb72f7ecbe/e/ce32f2b154fa3142e58c8c6b