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: Missign references - floating and unattached red coincident icon
When editing a sketch, do your best to move objects around. When a line or what ever is deleted and replaced it will get a new ID which will cascade through newer features in the list. Any sketches, extrudes, sweeps etc. can be affected. Faces used for sketch will have a new ID as well.
Had a look at the whole parts studio. I'm not sure why some folks draw sketches out of place and transforms them after. Makes a lot of extra work. Here is a sample showing how much shorter the feature list can be.
I find for me that making sketches in place is less confusing, especially as the project continues.
PS. I left the fillets out so you'll have something to do. They're B——H
However they can be done on one protrusion and arrayed same as protrusion.
Re: Adding dimensions to sketch features via API
I've done this before, and unfortunately there is no documentation/resources.
My process was to essentially reverse engineer the data structure of a sketch.
Manually make a sketch dimension, and do a "Get Features" api call. Look at what the result is, and then replicate.
Adding dimensions to sketch features via API
Though there are guides published for adding dimensions to drawings here, I can't find any sources for how to add a dimension to a part studio. The closest I've gotten is by creating a BTMSketchConstraint2 with "DISTANCE" as the constraint type. That applies a distance dimension, but I'm struggling to get it to reference sketch features correctly. I've tried creating parameters for a sketch line (BTMSketchCurveSegment155, wrapped in a BTMParameterString149) as well as passing two points (both BTMSketchPoint158 wrapped in a parameter string as well). In both cases the constraint is received but the feature solves with an error complaining that the references didn't resolve correctly.
The best source I've found for adding sketch constraints is the onshape_client package (now archived, though I can't seem to find a superseding repo yet). The tests there successfully apply coincident constraints using the "features" POST api call, which I've replicated. I don't see any information for how to extend this to a dimension however. I'm looking to see if anyone knows of additional guides/examples/documentations, or has the innate knowledge themselves on how to do dimensions. Thanks in advance.
For reference, here is an example of the JSON body code which is successfully received and solved for by Onshape, though producing unresolved errors in the model (passing two points as the parameters, the points were successfully solved for in the model):
{ 'bt_type': 'BTMSketchConstraint-2',
'constraint_type': 'DISTANCE',
'driven_dimension': True,
'entity_id': 'lengthId',
'parameters': [ { 'bt_type': 'BTMParameterString-149',
'parameter_id': 'localFirst',
'value': 'myPoint' },
{ 'bt_type': 'BTMParameterString-149',
'parameter_id': 'localSecond',
'value': 'my2ndPoint' }] }
Re: Rectangle icon missing - view has a dark bacground instead of white
If the background is black that's a browser/ graphics card issue. A quick search on here should find you some fixes. The easiest being try a different browser.
Re: How to make a slotted hole
You can also select splines and arcs, not just a line.
Have you tried the learning center? This and many other sketching techniques are covered in sketch training for free.
Also if you hover the mouse over the tool selection you'll get a brief description. In this instance the description is "make a slot by selecting line, spline or arc". They can be used in combination as well.
Re: Every time I visit the onshape website I need to log in again. Is there a "remember me" option?
@davidg707 if you want to have passwords saved to compromise security then that's your choice, but corporations don't want to give their employees that freedom. It's not costing you anything so suck it up.

Re: 4K environment profile not selected by default in Chrome
I use Chrome a lot for Onshape. I have a 4k monitor. I've never had that issue. It sounds like a Windows/Chrome issue, not an Onshape issue. (I'm on a Mac)

New Custom Feature: Point Overcut
Creates Overcuts ("dogbones") at selected points, with additional options such as offsets and filleting the resulting sharp edges.
Mostly written for me 3D printing square or hex holes for shafts, which usually bind at the corners of the hole.
Let me know if you find bugs or want more options.
Link: Point Overcut
https://cad.onshape.com/documents/957d2b7af0957f080bccbf2a/w/5594b6207dd2385b1e9b0cef/e/5737825e2807434e69002ca9
Some help from CNC Overcut but mostly from scratch.
Re: Mates - How to prevent the last link from moving relative to the previous one?
the poster wants to be able to move one joint at a time, and have all joints further out to remain "fixed" relative to the part that is moving. but all joints must be able to be explicitly rotated at any time.