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.
CAD Battle #2 - March 2026 (4 Dimensional Modeling Competition)
Comments
-
I'm cheering from the sidelines on this one but I'm really excited about what I'm seeing. Great prompt, Derek!
0 -
It's the last weekend before the end of month deadline, so if you're still working on your submissions there's still time to wrap things up and get it in and give @wille_j a run for his money.
Progress report on my own self submission: it's coming along pretty well but I'm having to chip away at it slowly between other obligations. Oops double booked. Someone at work saw the post and made it job-relevant though so one way or another there'll be a new tube bender script on the scene before the deadline.
0 -
Monday update: we're now in the final two days of the competition's submission phase. New entrants could still start from zero this morning and theoretically sprint to a full submission before the end of the month, but at this stage it's probably more likely that you should be in the finishing and polishing pass for your entry.
Meanwhile my own entry made some steady progress on Sunday after helping someone manage their marbles the rest of the weekend, and I've got a functional build of some foldy unfoldy tubes.Technically finished enough to put into use, but I need to apply some of that polishing pass before letting everyone loose with it.
3 -
I'm in the middle of prepping some final details (today or tomorrow), but I have a form of composite panel modeling working. The bends have no fillets, k-factor or relief, but they can be shown in flat pattern as well as folded state and anywhere in between.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
2 -
Ok. Here it is finally:
Origami Fold
Create foldable origami geometry from sketch edges, SVG crease patterns, FOLD JSON files, or selected 3D bodies. Use Convert mode to prepare and preview a pattern, and then Fold mode to solve it into folded geometry at any fold percentage. Output can be shown as curves, facets, surfaces, solids, or composite panel geometry for fabrication workflows.Mode
Convertprepares the source pattern and can show the flat pattern without running the full fold solve.Foldsolves the model and creates folded output geometry.Input type
Choose the source used to build the origami model:Sketch edgesuses selected sketch edge sets and crease assignments.Fold file (add .json to the end of the filename)imports FOLD-format origami data.SVG file (add .textto the end of the filename)imports crease pattern linework from SVG.3D bodiesconverts selected sheet-like geometry into an origami model.
Fold percent
Controls how far the model is folded, from flat through intermediate states to the fully folded result. Flat inputs will be treated as 0% fold and mountain and valley folds will have targets of 180° at 100%. 3D inputs will be treated as 100% and at 0% they will be flat patterns. Negative percentages are supported to invert models.Output
Choose how the folded result is created:Curvescreates the folded edge network only. Curves are color coded for boundaries (black), mountain folds (red), valley folds (blue), cuts (green), and facets (yellow)Facetscreates folded facet bodies. This is useful if the surface or solid modes are self-intersecting.Surfacecreates single folded sheet bodies per closed boundary.Solidthickens the folded surfaces into solids.Composite panelcreates a grooved sandwich-panel style result with skins and core geometry.
Thickness
Sets the output thickness forSolidandComposite panelresults.Opposite direction
Flips the side used for thickening-based outputs.Skin thickness
ForComposite panel, sets the thickness of the outer skins.V-groove tip width
ForComposite panel, sets the V-groove tip width used to form bend relief.Solver selection
Controls how the fold is solved:Autochooses the best available path.Flexible onlyskips rigid solving.Rigid preferredfavors rigid solving before falling back.Rigid onlylimits the result to rigid solve paths.
Flexible solver controls
Advanced controls for tuning flexible solves, including stiffness, damping, tolerance, and panel behavior for elastic or non-ideal folds.Show flat pattern
Temporarily displays the flat reference pattern for setup, preview, or comparison.Keep input parts
Preserves the original source bodies when using 3D input.Locked face
For 3D input, keeps a selected planar face fixed as a reference during folding and output placement.Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
3 -
I'm sorry but WHAT? You had a studio hiding this complexity in that document and chose the other one for the thumbnail?
Burying the lede man. That's cool as hell.
4 -
Dawn of The Final Day for our little CAD competition. Already we've got some stellar submissions in the roster from @wille_j and @S1mon for some 4d sheet unfolding processes with my own tube forming script to follow up later today as I add the finishing touches to it.
To be honest even if these 3 entries end up being the only ones that make it in before the deadline I'll still be completely satisfied with the outcome of the competition because it let to the creation of some features that resolve pain points in some modeling practices I've either ran into myself or seen other people ask about with some amount of regularity. The trophy is honestly a formality at this point because everyone who submits something that adheres to the guidelines of this particular battle has done something special and you're all winners.
But in a much more real sense, only one of us will be the winner and take home the Shapey so stay tuned for the final entries to slide in today and we start the voting tomorrow to decide our new CAD Battle Champion… #2
1 -
Shapey is ready to be presented to the next CAD Battle champion.
3 -
Wow, love the alternate use case for CNC! Should be no issue to include additional centerline, happy to share the document if you'd like to poke at it yourself.
0 -
Some small tweaks and additional showcases of usage in V10.
- Added ability to make multiple fold edge overrides that have the same properties, saves the input array a lot.
- Added selection for the finish unfold so it supports more parts in the same part studio.
- Included unfold configuration in the showcase part studios.
The house got some love with the chimney inside, windows, texture and basic interior.
Obviously I needed to make my own version of the inspiration for the FeatureScript, the RPi Case, so here's the in-Onshape version of a case for RPi5.
And I found another cool example of a folded structure here. It was surprisingly quick to make this with the fold tools and Amalgamate, see it here.
3 -
I love that you can start from both the flat version and unfold a reference-body, I was going back and forth a lot in the beginning of whether I wanted to start from a reference geometry or a flat sketch - you did both. Well done!
1 -
Alright. Self submission time.
Kirigami Tube Bends… are maybe actually not the industry correct term for this kind of box tube folding geometry but I saw it used exactly one time in a JerryRigEverything video and I never let something like industry general practices dictate my naming convention before so that's what these are called now. There didn't seem to be an industry standard convention anyway. Kirigami is a Japanese word meaning to cut and fold as distinguished from Origami which prohibits cutting.
What does this feature do? Well it allows you to take lots of little frame segments that would otherwise be annoying to keep track of individually or may include lots of funky angles that aren't consistent saw dimensions and combine them into one long tied together stick to send to a laser cutting tube vendor. @NeilCooke's Unfold Frame already has some measure of support for exactly this, but my script brings several notable improvements to the table that differentiate it from his implementation. More on that later. Gifs first.
Simple demos first.
How do I use this feature? To start with you want to draw your frame segments using whichever normal methods you've become accustomed to and make sure you have your corners set to mitered geometry, and that you are using some flavor of rectangular frame profile. Then simply apply the bender script by selecting frame bodies in the window and specify an outside bend radius for the corners for the folding action. You can apply other operations like holes or extrudes to the frame bodies before or after the bender script as well and as long as you don't mangle the bodies too bad they will maintain that geometry for the unfolding step. When you're finished adding your other laser manufacturing friendly features to the tube you can proceed to apply the unfolding script to the contorted composite part and the feature will straighten out all the bend segments to lay the stick "flat".
Key Innovations:
Large Radius Corners - When it comes to sheet metal or box tube parts there's nothing that sucks more to fabricate than a bent corner radius that's between 1/2" and 6" because you get put into a realm of specialized forming processes. Especially if you need to do it on heavier wall parts. This feature lets you get the structure of heavier wall material by using box tube, and allowing the bend to happen in much easier to form thinner wall tube segments.
Keying Geometry - I'm calling these round things alignment pips. With great radiuses comes great responsibility. These things keep you squared up for cases where the bends might be a little bit wonky. If you align these, you know your frames are where they're supposed to go.
Bending K Factor -
Sort of…K factor in a sheet metal context is usually calculated as the neutral fiber in a mass of material with uniform thickness throughout the cross section. Box tubes or extruded profiles often have fillets or corner radiuses on the inside or outside of the profile. Sometimes both. Sometimes ones that don't match each other. To handle all of these cases uniformly I have made the bold declaration that in the bending regions the approximate centroid of the bend face is where the neutral fiber goes for these bent parts, pinning the K factor at a nice and lazy .5 always for all profiles. We'll see how true this is to life, but given that the face centroid does bias towards where the thickest distributions of material lie I expect it to play out better than other alternative measures.Cuts to the Inside Radius Terminus -
What does that even mean? Are you okay?So there are a lot of different ways you can structure a laser bend, here is an example of one done in Solidworks using sheet metal tools to get the foldy to unfoldy:These corners are cut on the outside radius, and does so on the sides / tops of the box tubes which has several downsides. There's no support for the bend to hold the arc for the really large bends, there's an extra wide gap to fill with weld, and these parts are already welding intensive enough, and the outside radius of some box tubes will actually intersect with the wall if you try to punch through there with a laser.
My choice of cut location results in much cleaner self supported bend geometry, less slag on the inside of the tube sticking to the interior faces, and a much reduced welding cost to close up the cut regions.
Alright enough explanation.
Showcase Part time:
A lawn chair to be fabricated from 1x3 laser cut box tube and sheet metal featuring questionable upholstery modeling practices but a tasteful amount of OnlyTabs application for self aligning geometry assembly-wide.
4 -
These three submissions are staggeringly cool guys! Makes me feel like a cheater for winning a shapey for doing the dumbest possible model.
1 -
What the actual f… These submissions are insane… Way to step it up guys!
Ramon Yip | glassboard.com
1 -
I mean I got mine by actually cheating, sooo…..
I was feeling like maybe I overshot the complexity of the challenge towards the middle while everyone was still working and no submissions were in yet but now that we've got a couple of really good posts here at the end I feel like asking for the level of difficulty that I did was the correct call. Any submission that stuck to those guidelines was always going to turn out really cool.
But for the sake of future engagement I'll dial back the next battle's scope a little bit and keep it lighter.
I spent so much time working on my own submission that I didn't even really get time to open up and explore @wille_j or @S1mon's so I'll be spending some time noodling with their scripts and seeing what I can do with them before settling on a vote. In previous battles I already knew my favorites prior to the voting period but this time they all look really good.
Speaking of, the official voting period has begun and will continue until midnight EST on April 7th.
0 -
Simon, incredible feature. I am really impressed. Is it possible to export that flat pattern that's shown with the checkbox somehow? That would be great! Thank you.
0 -
I see now that I can change the output to curves and do it that way
0 -
It already does this.
If you set the fold percent to 0, and then set the output to curves, you will essentially get the same thing (including the colors). You'll need to orient it the right way on a drawing, but you can configure the feature as the "flat pattern" config this way. Right now the curve output is showing the auto-generated facet edges (in yellow) - which I will fix. (behind the scenes, everything is turned into triangles for simulation)Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
1 -
As soon as I commented, I found that out. Thank you very much, that is awesome!
1 -
As someone who is obsessed with building product configurators and annoyed that there was still an intermediate step to generate manufacturing ready files, this may be one of the greatest FS I've seen. Lots of ideas churning in my head now. Wish I had seen the contest ahead of time.
0 -
Thanks man. In my line of work product configurators are something of a pipe dream because our clients demand a level of customization that can't really be expressed with a simple web interface to a checkout portal, but I do have something of an obsession with procedural generation in video games and an intense dislike for repetitive manual steps in any process.
I drew one of these by hand and knew I would never draw a second one for a job with the number of steps it took.
0 -
And to some extent, a large part of the purpose of these competitions is to churn ideas, @armandoRR. If you've got new workflows or scripts in mind inspired by the examples here then it's done the job. Based on the reactions so far I'm sure we'd all love to see more things borne from the constraints shared at the top of the thread, even if they won't be Shapey eligible.
0 -
This is a tough one to pick. 3 top tier entries. The criteria I will use is which one I would use most often and since I do work in the metal cutting and bending industry I have to give my vote to @Derek_Van_Allen_BD
0 -
As a reminder to the general public, even if you didn't participate with an entry this time around you can cast a vote for your favorite script among the three entrants to the contest. Voting is still open until 4/7 tomorrow night at midnight EST, so if you were wowed by any of these 4d scripts take a moment to leave a comment to crown the next winner of the coveted Shapey award.
The 3 eligible entries to vote on this time around are the following:Or my own Kirigami Tube Bends
0 -
They all look like some kind of deal has been made with powers of which we shall not speak. How else could they possibly work! I'll put a vote on for Simon's origami fold if only because I can occasionaly make a bird base.
Engineering textbook: https://hwh.stephenteacher.com/txtbook.html1 -
My first configurators were built with Blender4Web and they were lackluster but did the job. Switched to using ShapeDiver with Grasshopper, and it's okay. Been testing BeeGraphy lately. They all suffer from the latency of getting through the entire parametric flow, so my thinking is that it's still better to generate the form and function separately. Lightweight form and quick DFM checks, and then when the customer hits order I compute the full manufacturing files.
0 -
Having played around with both @S1mon and @wille_j's features over the weekend, it's hard to decide which I like more. They both have a lot to love about their individual implementations to addressing similar problems. Simon's origami feature has the ability to start from a 3d model and generate an unfolded net which matches my preferred workflows better, but Willie's feature pays a little more love to the bend regions themselves and creating nice live hinge geometry that changes the interior angles to match the closed up folded state.
Both are strong contenders in their own right and useful for their individual intended applications so I'll be placing my vote solely on the extra mile Willie went by preparing actual printed examples of the demonstration models to prove that the script does in fact effectively do the thing it was designed to do.As opposed to mine, which everyone has to take on faith that it works until my laser order shows up. Some bold assumptions were made.Which does put the competition back into a 3 way tie with 1 vote for each of the 3 candidates.
0 -
As a participant, if we're also voting on this, I'm a bit stuck. There are good things about each of these entries. I feel like I should abstain.
As a side note, if anyone is actually using Origami Fold for real work, I'd love any feedback on what's working well and what could be improved.
Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn
0 -
It is very hard to tell this time. I guess my preference might shift the moment I have a job on the bench that could take advantage of any one of them. Out of expectations, and from the perspective of a user who doesn't know much about the sleekness and elegance of code, I'd go with dereks for now, because it clearly meets the 4D criteria and also because I have a feeling that it might be just the tool that makes a frame more appealing and easier to weld the very next time one is needed.
0
Categories
- All Categories
- 10.2K Community Support
- 4.6K General
- 194 Account and subscriptions
- 353 Data management
- 1.6K Product Feedback
- 215 New in Onshape
- 14 Onshape Labs
- 75 CAM Studio
- 35 PCB Studio
- 107 Simulation
- 209 Onshape Mobile
- 315 App Store & Partners Apps
- 8.2K Using Onshape
- 1.8K Drawings
- 2.3K FeatureScript
- 324 Learning Center
- 253 Education Community






























