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.
Comments
that seems pretty cool! I haven't had a chance to check it out and probably won't for a few days, but didn't want to leave you hanging in the meantime. Thanks for giving it some thought and time.
I could well be missing something, but is there a way to essentially duplicate a freeform spline such that it is projected onto a plane? This is useful for lofting a surface down to a part line in plastic for example. Or if I want to make something symmetric about a centerline.
I couldn't see a way to reference the points from a previously drawn freeform spline but then make all the points of the new spline lie flat in, say, Z. I can create a new sketch and use the geometry of the earlier freeform spline, but it appears to be non-editable (maybe there's a way to convert it to a conventional spline so I can edit it that I just don't know about). Hope that's clear...
- You can create it in 3D and then "Use" the edge into a sketch in order to force it flat.
- You could create a sketch first that has a bunch of points that you can reference with Freeform Spline, then edit the sketch with the "Final" button active
It's always a little bit of a question for me as to how much functionality to pack into this one feature vs just creating a second similar feature for other use cases. In the end, I think Onshape could create a much better native tool for these kinds of workflows. Maybe it would be something more like 3D Sketching in Solidworks. In any case, I've had fun making the feature, and I use it often, but I kind of hope it eventually becomes obsolete.Agreed that ideally this is something built natively into OnShape! From an industrial design standpoint it's much more intuitive to be able to work with these in 3D rather than interpolate through 2x 2D sketches
I had a quick poke around your version and there's definitely some cool stuff happening!
The caching is an interesting idea. I did find it worked well for the most recently added point, but if I clicked a middle point twice (to deselect and reselect) it felt a bit jumpy since it moved the last point there, but kept the same offsets.
I thought the "confirm" boolean was clever (though maybe not needed since ctrl-z works for feature edits).
I'm torn about the ability to add all of the triads. It looks super messy sometimes, but it does reduce clicks a bit and feel more interactive. To anyone reading this, what do you think? Would that be a helpful option to you or feature bloat?
There are definitely some pros to the single query method. The two biggest drawbacks (for me anyway) are that you must have a reference per point, which isn't usually why I want this feature, and that you can't manually edit the offsets, which I do from time to time.
As usual, your code is much more concise and tidy than mine. Thanks again for taking the time to look at it!
Confirm is certainly unnecessary from a feature design perspective, but I've begun to add them to all of my features which have editing logic functions which are triggered by a boolean since they make it much clearer what the boolean actually does. Otherwise, the UI has a boolean checkbox option that refuses to stay checked, which is confusing, to say the least. It also makes things more satisfying to use, which I personally enjoy.
I didn't think about the added clarity of the confirm boolean, which I think makes a lot of sense for behavior that people aren't used to. I'd love to have some new interactive elements available like a scroll wheel, or more formal button (with a custom icon maybe), which could be momentary or persistent.
I'll dig into your last paragraph and the Plate FS to make sure I understand all of it when I have more time. As always, I appreciate the ideas and prodding to make my features better.
Great to add weights to the feature.
You may want to add a lower limit on the weights that isn't 0. A weight of 0 causes the spline to disappear.
Congratulations on winning the Onshape Live FeatureScript!
Called it a while ago...
Twitter: @BryanLAGdesign
Twitter: @BryanLAGdesign
- When you pick a face, the point snaps to the closest place on the face, and the arrow manipulators change to indicate you're referencing a face.
- if you pick a non-planar face, the UI changes to U and V parameters and a Normal distance to locate the point relative to the face.
- if you pick a planar face you still work with X,Y,Z length dimensions with (0,0,0) being the origin of the plane
Non Planar Face ExamplePlanar Face Example
This would be great to have built in to the Plane feature.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
This is super handy for things like pipe routing made of lines and arcs, or cable routing where you want to control the bend radius. It was a lot more work than it sounds like to get it working, but I think it's fairly stable. At this point the feature is getting kind of unruly, so I've gone ahead and updated it in hopes that people can help me with quality control. Lemme know if you find bugs!
Some notes on how it works: