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.
Best Of
Re: Drawings/create API
@Christopher_Ace_Caoile That's a good idea. It would be cool though, if an Onshape developer could step in here to be clear on how it can be done efficiently or if it can be done. It would seem it should be able to be done, simply because it is being done within the Onshape UI. Sadly much of the API calls being done within the Onshape UI seem to be made server side, so picking through your console to see what is actually happening is not much help with respect to drawings I have found.
Re: best way for loft sections between two changing size faces in different parts
In the case of cylindrical… make a surface, a sketch, wrap the sketch on the surface with the split option, then thicken the pieces of the surface.
MDesign
Re: copy design using api
Yeah, this one works for me:
https://cad.onshape.com/glassworks/explorer/#/Document/copyWorkspace
Re: New Feature: Better Than Boolean
@Caden_Armstrong that's a pretty slick implementation. I could use that to draw sketch lines from the offset blue centroids back to their original location to make it clearer that that's where they're supposed to be.
OR I could waste precious rendering cycles drawing sacred geometry around the workspace in my Miter Warlock script to stay on theme.
Re: Troubleshooting procedure for fillet failure (and any other failed feature, for that matter)
I have a experienced some issues recently with mirrored geometry not behaving the same as the "original" side, specifically when working with fillets (and drafts). My guess would be that the software uses the "context" provided by the feature creation before the fillet to figure out how to apply the fillet but that gets lost on the "mirrored" side, or something along these lines but you would think the mirrored geometry would work the same!
A couple tricks for troubleshooting fillets:
- The first step is to try a smaller fillet radius to see what happens, sometimes the value at which it fails will match another fillet or feature size that can provide a hint on what's going on. Depending on the issue (and the design intent), a variable fillet can help with these cases
- Temporarily turn off "tangent propagation" and investigating what happens around the trouble area and when manually selecting things can also provide insight
- You can also play with the "edges to keep" under the "allow edge overflow" box (although probably not relevant in this case)
Re: Export/import of Featurescript for a Part Studio?
A simple example is renaming. You can change the name of a variable with a text editor that supports multifile search and replace (with Emacs as an early example). This is not a single-step operation, as local and member variables may use the same names (in effect, false positives).
You can avoid the problem somewhat with naming conventions. I am starting to drift toward using a version of Hungarian notion for my CAD parameters.
You can do most any sort of transformation in a smart text editor, especially with well-chosen naming, though the process may be rather manual. Learned that lesson a *long* time ago.
https://bannister.us/weblog/2005/structure-editors-ides-and-another-lisp-flashback
Yes, clearly if I had chosen good names for my parameters up front, I would not be looking to rename my parameters later. This is much like the experience with top-down versus iterative (agile) design in software.
Interesting ... I discovered the Featurescript view is live. If I select items in the "Features" view, then the corresponding text is highlighted in the script view (very cool). As a hack, I created a variable with the desired name, updated the existing variable to reference the new name, then suppressed the variable (in hopes of discovering where it was used, for manual fix-up).
First, the interface showed the "wait" cursor for rather a long time. As a non-paying user, I feel a bit guilty if I am slamming one of the Onshape servers.
Second, what failed was one of the sketches, which in my case was ~700 lines of Featurescript code. As the "Features" tree is a single level, in practical terms this is far too crude for figuring out what items in the sketch needs fixing.
Which means doing renaming in a text editor is still a better idea.
Note that this mapping between empirical language and visual representation is an old topic in programming environments. In roughly historic order, Visual Basic, Visual Cafe, Visual Studio, NetBeans, and (sometimes) Eclipse all had/have support.
As to whether there is need for this level of support in the CAD world, I have no clue.
Re: best way for loft sections between two changing size faces in different parts
it's hard to tell from your image but is this spherical or cylindrical? or neither? if possible can you share a link to what you have so far?
MDesign






