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
New Feature: Miter Warlock
Recently we had a client commission a project from our company that was to be manufactured out of Corian countertop sheet goods and they wanted perfectly mitered corners on all of the parts with visible seams. Oh and they sent a concept model that had exactly zero right angles between faces. As I sit there mentally tallying all of the potential hours spent manually placing splitting planes or attempting to draw extrusions edge on I gave the sales team my overestimate for a go-away price to avoid the headache. Then the client paid it. So suddenly I was motivated to develop an alternative tool to avoid ever having to sketch a mitered joint ever again. Introducing Miter Warlock.
So imagine you were handed an object like this from a design team and asked to make it out of sheet goods. How would you panelize it? Does your approach scale to an object with hundreds of unique N-gon panels with random angles between every adjacent face?
Well if it does you should probably have told me about it before I wrote this script.
Miter Warlock takes a face or faces as a user input, finds the closest parallel(ish) face on the same part that lies behind that face, and draws a loft between the face pairs to split the parts into perfectly mitered panels. The input geometry can be drafted using whatever tools you desire, the only requirement is that you have some kind of shell-like geometry as a starting point whether that was made using shell, sweeps, 3 extrudes in a trench coat, whatever. There isn't even a requirement that each face in the part be a consistent thickness with the others on the same part. You just can't use b-spline faces for reasons I'll explain in a moment.
Since the resultant bodies are split, Ids are preserved for downstream operations. Don't put hole features in before this tool gets used though, I'm not checking for internal loops yet. Probably the highlight of the tool though is how it handles corner cases. Literal ones. This topological nightmare.
This is where the tool gets its name: loft features in onshape cannot cleanly resolve cases where the number of edges mismatch between loft profiles, and will draw spline faces in places where I need nice clean planar miters. Instead of studying how this problem ought to be solved methodically like a good wizard I started borrowing any available public features that do faceting things to facet my errant spline faces. I settled on Konstantin's Convex Polyhedron script as a faceting function for my script. I think that makes him my patron and my publishing this means I'm contractually bound to owe him a favor. At least I never need to draw a sketch for a miter again.
Re: Point Pattern Feature by Mate Connectors
For visibility, here is the FeatureScript in question: https://cad.onshape.com/documents/9fca78cb66a0bc83e359eb3e/v/07cd4dc92eebefff4524a2fb/e/7052b96c07018ad97bbadbf9
This is a feature that a previous employee had worked on and not something that we officially support, however someone from our team or a member of the community may be able to make some changes to a copy of the feature in order to match the mate connector orientation.

Re: New Feature: Lefty Flip
@MichaelPascoe You should see some of the cursed sheet metal forms I was able to birth into existence when I was testing the waters with the bounds of the scaling operation. If I'm reading the docs correctly these are affine transformations under the hood which is a much larger matrix of possible operations. If they ever expose the other values for me to play with you're gonna see some weird shit out of me.
Re: New Feature: Lefty Flip
Assembly mirror is coming — it's surprisingly complicated to do it well, but we think we have a good solution.
Re: Trouble with getting a Airfoil to work properly
In tab copy 2 is 1 solid for the slicer to deal with as suggested by others and let the slicer produce hollows if it will.
Both samples are using "edit curve" to clean up the faceting of profiles to generate clean lofts with no facets. The imported data uses an stl or something that can't make clean curves. If you know the foil designation there are some airfoil feature scripts that will to a better and cleaner job of producing the foils. No transforms either. Best when profiles ares located from origin so they won't move later.
In tab copy 1 worked through your method some what or as close as I could. Putting in the ribs was kina brutish but ended up as one part for the slicer. The original had some sort of flaky bits that may output as multiple parts to slicer.
Hope this helps.
https://cad.onshape.com/documents/dbf29042fa71a229a95c45c9/w/c2fca4113e79b329e359e45b/e/35aabbd27825d5553323aac4
Re: How do I flip a part horizontally?
No idea if this will actually work but this thread was the one that broke the dam for me and caused me to develop a mirroring in place script that maintains assembly mate structure without creating new parts. I'd love to put it through more case studies to see if it works for applications like this but the initial testing has been really solid.
Re: flat pattern projection in drawing
I believe the option to flip the direction was added in the "sheet metal feature" since this thread was created. Although I have to admit it's not super clear that what this does:Michael_Bills said:I agree, the way this is implemented makes my drawings look unprofessional.

New Feature: Lefty Flip
After seeing loads of forum posts about the want for an assembly mirror, and lots of my team's gripes about wanting non-assembly mirrors that flip the original input parts instead of creating new ones to maintain the flow of downstream operations I decided to do something about it. This is not an assembly mirror feature. This is just a tribute.
I present to you Lefty Flip, which allows you to create left handed configurations of your parts while fully maintaining original part IDs, edge IDs, face IDs, pretty much everything I threw at it in one afternoon's worth of noodling. This means any mates you define at the assembly level for your right hand configurations of parts will also be defined for the left hand configuration when you change between them. Assuming you mated things any kind of reasonable.
To demonstrate I found a copy of a Fender Stratocaster assembly someone modeled and published on the public docs, but left out all the lefties.
And then applied the script to 3 part studios for the parts that would be flipped on a lefty guitar and none of the ones that wouldn't
Lefty Flipped.
Normally creating a left handed configuration of a product would require forethought and intent and good assembly structure and you'll still end up with a folder of suppressed mates at the end that you'll look back on later confused at how things are meant to relate to one another. Heaven help you if it isn't your model. Now you just need one feature and a configuration checkbox.
Just select the bodies you want to mirror in the part studio and optionally define a mate connector to center your flipping operation on. If nothing is selected it will use the part studio's origin as the center. It does do a left to right flip and not a front to back or top to bottom. Our company operates under Earth gravity but let me know if you work on parts for space and want the option for front to back or top to bottom flips and I might update this to add those at some point.
And because my team wouldn't live without it, it does sheet metal too. But only if you flip everything in the context at once because things were getting unstable when I tried to do only single pieces out of context. Probably that's your intent with a left handed sheet metal model in most cases anyway.
Now if only I was any good at drawing icons…
Re: How to add curved channels into parts
Thank you for the document, very helpful! For the line you made, was it a 3 point arc that you then offset and them mirrored?

Re: How to Extrude along a surface of cylinder while making a 90 degree twist
I made this video a long time ago, there may be improvements that make my method obsolete…