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: Support for Anisotropic and/or Orthotropic Materials
Yes, for simulation purposes materials like wood have different values for strength (i.e tension, compression, elastic modulus, etc.) depending on the direction of the load applied in relation to the direction of the grain (i.e. perpendicular to the grain, parallel to the grain). As it stands, the values of the wood materials in the standard library are all zeros. The only one that has a value is the density, so I can calculate weight, but I would not be able to perform a simulation analysis.
Re: Wrapping a sphere with a grid
I recently wrote a (so far unpublished) geodesic polyhedron feature you may find useful: https://cad.onshape.com/documents/01168ba15e051e7a318549cf/v/0d2ef946e0df5ac9c06047c5/e/5a8fbbee052c613dfd8ecc8a
_anton
1
Re: Can't get "isSheetMetalModelActive" function to work
Sheet metal in featurescript is not really straight forward when compared to everything else.
From my understanding there is the model you see and interact with, but there is also a secret hidden model that is the sheet metal definition model. This helps do all the unfolding and tracking stuff that is unique to sheet metal. Modifying the sheet metal part requires modifying both. This is why most operations don't really work on a sheet metal part, and but the full feature (ex opExtrude vs extrude) does work, because Onshape has all that complexity built into their features that most people won't bother with for a custom feature.
You can get the underlying sheet metal entities and use that to check.
But you also cant get the underlying entities (the array is empty) if the sm part is finished, so that is a check in itself.
tl;dr isSheetMetalModelActive doesn't take a part query, its taking a query for a sheetMetalModel which is a different thing.
Chat GPT is worse than useless at FeatureScript. Don't waste your time with it.
From my understanding there is the model you see and interact with, but there is also a secret hidden model that is the sheet metal definition model. This helps do all the unfolding and tracking stuff that is unique to sheet metal. Modifying the sheet metal part requires modifying both. This is why most operations don't really work on a sheet metal part, and but the full feature (ex opExtrude vs extrude) does work, because Onshape has all that complexity built into their features that most people won't bother with for a custom feature.
You can get the underlying sheet metal entities and use that to check.
But you also cant get the underlying entities (the array is empty) if the sm part is finished, so that is a check in itself.
tl;dr isSheetMetalModelActive doesn't take a part query, its taking a query for a sheetMetalModel which is a different thing.
var sm = getSMDefinitionEntities(context, definition.body); var isActive = isSheetMetalModelActive(context, sm[0]);
Chat GPT is worse than useless at FeatureScript. Don't waste your time with it.
Re: Making dimensions EQUAL = whilst in a sketch
Yeah, Onshape doesn't do dimension relations. But you can make a variable on the fly.
Or you can use constraints.
Or you can use constraints.
Re: Perspective View
I don't know for Onshape (never tested) but I remember that when using Autodesk Inventor, perspective view was pulling so much graphic power from my GPU (which was recent and powerful) that I stopped using it.
STEG
1
Re: Creating materials while we work
Let me add the following: Updating a material library while at work is not currently possible, because updated libraries only come available after closing and re-opening a project. For now, I keep a copy of my material library on my PC, open as a spreadsheet, and edit that when I run into a new material, and whenever I have a few new entries, I save s a.csv and update the OS custom library with that. But that can't be it, right?