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 do I highlight a failing edge with opFillet like the native fillet feature?
@Evan_Reese
@NeilCooke asked me to shed some light on this. Basically, error entities are attached to an id. If you want error entities to show up, they have to be attached to the top-level feature id. We do not automatically migrate subfeature/suboperation error entities to the top level feature because that is not always the desired outcome. Imagine, for instance, calling a Boolean operation in your feature, and, if it fails, catching that failure and instead trying to do that boolean in smaller batches (this is how fix pcb works). You would not want the error entities from the initial boolean to come through, because that did not cause a feature failure.
The appropriate way to bootstrap error entities from a subfeature to the feature itself is as follows:
To get the nice code box you can click on this button:

and then paste the code from your feature studio into the empty box that shows up.
@NeilCooke asked me to shed some light on this. Basically, error entities are attached to an id. If you want error entities to show up, they have to be attached to the top-level feature id. We do not automatically migrate subfeature/suboperation error entities to the top level feature because that is not always the desired outcome. Imagine, for instance, calling a Boolean operation in your feature, and, if it fails, catching that failure and instead trying to do that boolean in smaller batches (this is how fix pcb works). You would not want the error entities from the initial boolean to come through, because that did not cause a feature failure.
The appropriate way to bootstrap error entities from a subfeature to the feature itself is as follows:
tryOr to just pass the top level id directly into the fillet (but, this can only be done for one subfeature, since ids passed into subfeatures must be unique)
{
opFillet(context, subId, ...);
}
catch (error)
{
processSubfeatureStatus(context, topLevelId, { "subfeatureId" : subId, "propagateErrorDisplay" : true });
throw error;
}
To get the nice code box you can click on this button:

and then paste the code from your feature studio into the empty box that shows up.
Re: How do I highlight a failing edge with opFillet like the native fillet feature?
I'm wrong again (I'm just flailing around in the dark here, literally) - it is the feature id - if the feature uses the top-level id of the custom feature then it works so:
Interestingly, setErrorEntities also only seems to work with the top-level id.
opFillet(context, id, { "entities" : finalQuery, "radius" : definition.radius });works, but
opFillet(context, id + "fillet1", { "entities" : finalQuery, "radius" : definition.radius });does not. So as long as the result of your feature is this one opFillet, then you can use the top-level id. If not, who knows.
Interestingly, setErrorEntities also only seems to work with the top-level id.
Re: Mass Exporting Step and Drawing Files
Chiming in here: I also have this problem. I need to export hundreds of laser cut part parts for manufacturing in STEP and DXF files. Each file name requires part number and revision. The Onshape default of "part name" is completely and utterly useless to me, and seems like a glaring oversight.
There needs to be a way to change the default export naming to PART#_REVISION_DESCRIPTION or similar.
Batch exporting is also desperately needed. I'm literally spending multiple full days just exporting drawings.
There needs to be a way to change the default export naming to PART#_REVISION_DESCRIPTION or similar.
Batch exporting is also desperately needed. I'm literally spending multiple full days just exporting drawings.
Re: How do I remove a lofted part whilst still merging another part with it?
You could try and thicken subtract the inner face leaving the glass frame remaining.
When your done and it's complete, do it again but this time use surfaces. Create each sheet of the glasses and then enclose them into a solid.
If you extrude a solid block you'll get 6 flat surfaces and you don't have the controls to sculpt each face. If you start thinking about boundary representations and enclosing a volume with sheets, you can create anything. With surfacing you're building the volume. one sheet at a time. With solids you end up whittling away at your volume and it takes more features.
Looking your glasses, I'd create the front surface, then extrude the frame up to the surface.
Share your model and I'll build it with your sketches, I'll show you what I mean.
When your done and it's complete, do it again but this time use surfaces. Create each sheet of the glasses and then enclose them into a solid.
If you extrude a solid block you'll get 6 flat surfaces and you don't have the controls to sculpt each face. If you start thinking about boundary representations and enclosing a volume with sheets, you can create anything. With surfacing you're building the volume. one sheet at a time. With solids you end up whittling away at your volume and it takes more features.
Looking your glasses, I'd create the front surface, then extrude the frame up to the surface.
Share your model and I'll build it with your sketches, I'll show you what I mean.

5
Re: Is possible to define component transparency and associate it to a Display State?
I can't test it where i'm at but if you make a part transparent in an assembly Nd create a display state, and it DOESN'T sawe, then the answer is no for display states,. But the aswer is yes if you use configurations in the assembly and partstudio instead
Re: Is it possible to show a part studio in an iframe of a simple html website?
It is not possible to insert Onshape into another page for security reasons. You can export a model and have it as a 3d model (non-editable) though - @billy2 can link you to the right resources.
Re: Help creating threads
I am not able to access your model.
as I saw, you solved by yourself, didn’t you?
as I saw, you solved by yourself, didn’t you?

1
Re: Custom units? (specifically milliter)
Fluid units don't exist in Onshape. Your work around is likely all you can do.
You may want to create an improvement request
You may want to create an improvement request
Re: How do I create lettering where the overhang is controlled?
Depending on how shallow the overhang, your printer might just handle it without following the 45° rule of thumb. I've done some similar stuff and it worked out alright. I think debossed letters would work better than embossed.
I've also had some luck using parting line draft at 45° using the right plane as a direction (knowing I'm going to print Top plane up). mine was on a curved surface, but not a complete wrap, and the lettering wasn't so complex, so I got away with it.
In your case, depending on text complexity, maybe you can just chamfer the bottom face of the letter pocket? check out this part studio here


I've also had some luck using parting line draft at 45° using the right plane as a direction (knowing I'm going to print Top plane up). mine was on a curved surface, but not a complete wrap, and the lettering wasn't so complex, so I got away with it.
In your case, depending on text complexity, maybe you can just chamfer the bottom face of the letter pocket? check out this part studio here
