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: How to name sketches created in featurescripts?
Cannot be done. Please create an improvement request.
Re: How can I query the faces that highlight when I pick a feature?
Thanks once again, Caden! I've not given it a test yet, but wouldn't this only get the most recent one? I'm trying to have a FeatureList param and query the faces for those features. I was hoping to have a "Features" mode in my recently released Thread Decal feature.
How to name sketches created in featurescripts?
var sketch1 = newSketch(context, id + "sketch1", {
Re: Order of split body parts
The box method can work, but I have a hunch there's something better. Here are some untested ideas:
Since you're splitting with planes perhaps you can add a qCoincidesWithPlane() or qInFrontOfPlane() to your loop, then append that query to an array as you go.
qSplitBy() should return both of the new split parts. You might need to use qIntersection() with the method above to return only the one body you're after.
Failing that, you might look into evRaycast(), which I think returns things in order.
Re: NEW Custom Feature: Thread Decal
Lookin good Evan. This will be very useful and done seamlessly. I agree with Simon. This could added into hole and external thread functions so it makes threads obvious from the get go. Is it possible to add another selection set so that the select all gets most with another list individually selected can have faces select sets for things like the tapered thread can happen within one run of the function. The thread decal can reside at last position in feature list. Just keep dragging it down or roll back ahead of it since the select all will just pick up any newly add thread information. I've already tried dragging down and it works well. A minor challenge for the OS team I would think.
Re: NEW Custom Feature: Thread Decal
Did a quick test and these do not show up in Render studio…
I'm guessing that's a "backdoor" feature that only specifically imports decals "features"!
Re: NEW Custom Feature: Thread Decal
Aw shucks. Thanks Simon!
You know I'd love if decals could be a bump map, which would render these a bit better, and be handy to represent textures. I had to just make a believable-ish shaded thread image.
Re: Sheet metal performance best practices
Oh, in my case I couldn't break up my model even if I wanted to. My main chassis was all one piece of sheetmetal 6 feet tall and 3 feet wide with hundreds of holes in it for PEM fasteners, rivets, etc.
Re: Sheet metal performance best practices
I've found sheetmetal to be slow as molasses on a few projects I worked on. Disappointing for sure. Creo would hardly ever bog down on anything. Maybe it is that parasolid kernal, I have no idea. I know Creo uses its own kernal from the late 80's I guess. What I did that helped a lot was "finish" the sheetmetal model immediately after the main shape with bends was all finished. Then, put the holes/slots/etc afterwards. This removes them from the flat pattern and speeds regeneration. I found the vendors don't want a flat pattern anyway, they unfold the step model in their own software. Also now, hobby places like sendcutsend accept step files (before they only accepted flat pattern dxf).