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: Onshape AI Advisor Beta (Coming Soon)
I made an improvement request for AI Advisor (Wider Data Range)
https://forum.onshape.com/discussion/27334/ai-advisor-wider-data-range/p1?…
Re: We need longer auth sessions
just save your login with browser. All I do is either click a saved link/bookmark or type cad in address bar hit enter then click on the sign in button because my info is saved.
MDesign
Re: We need longer auth sessions
I believe when we log on we are actually using a CPU at AWS. If it never kicked anyone off for a month, it would probably overload the whole system.
Is it possible to avoid logging in every time the browser is launched?
Regards,
Re: I need a little help
Yeah, you shouldn't use LLMs for this. They don't replace understanding, especially for a specialized language like FS. You'll get a nice-looking snippet quickly and then spend a hundred times as long finding the issues.
Michael's suggestion is really the answer here. Failing that, search the forum for custom features that already do this, or find similar custom features and understand their code.
_anton
Re: I need a little help
Compare and contrast - this is why you should not use ChatGPT, it's not even close…
FeatureScript 2615;
import(path : "onshape/std/common.fs", version : "2615.0");
annotation { "Feature Type Name" : "Grid generator", "Feature Type Description" : "" }
export const gridGenerator = defineFeature(function(context is Context, id is Id, definition is map)
precondition
{
annotation { "Name" : "Grid spacing" }
isLength(definition.spacing, { (millimeter) : [0.1, 100, 100] } as LengthBoundSpec);
annotation { "Name" : "Rows" }
isInteger(definition.rows, { (unitless) : [1, 10, 100] } as IntegerBoundSpec);
annotation { "Name" : "Columns" }
isInteger(definition.columns, { (unitless) : [1, 10, 100] } as IntegerBoundSpec);
}
{
const sketch = newSketchOnPlane(context, id + "sketch", {
"sketchPlane" : plane(vector(0, 0, 0) * millimeter, vector(0, 0, 1))
});
for (var i = 0; i < definition.columns; i += 1)
{
skLineSegment(sketch, "vertical" ~ i, {
"start" : vector(i * definition.spacing, 0 * millimeter),
"end" : vector(i * definition.spacing, definition.rows * definition.spacing)
});
}
for (var j = 0; j < definition.rows; j += 1)
{
skLineSegment(sketch, "horizontal" ~ j, {
"start" : vector(0 * millimeter, j * definition.spacing),
"end" : vector(definition.columns * definition.spacing, j * definition.spacing)
});
}
skSolve(sketch);
});
Re: Onshape AI Advisor Beta (Coming Soon)
.
I'm really excited about where this is going.
When it eventually comes to other Onshape studios, I'm hoping it will be able to suggest workflows and solutions like:
- To do this, you can use the Arena integration.
- Here are the steps to do this with Onshape's native features (10 steps). However, here are some Custom features I found that can do this in one step.
- Onshape doesn't natively support this kind of simulation, however here are some integrated apps that do.
- For this, you will need a top down hybrid approach. Start by creating a variable studio, next create a part studio with skeleton sketches. Etc…
.
They mentioned they wanted it closed source so that they could control the solutions, but perhaps there could be a checkbox to "Search public forums" which would also let it search the forum for answers since there are tons of use cases and great questions on the forums that are not covered within the learning center.
It would be especially useful if it had access to:
- FeatureScript Documentation
- Standard Library Source
- Onshape Developer Documentation
- Glassworks
- Onshape Inc. Public Repositories
- App Store
- Onshape Forums
.



