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.
sweep question for springFS
tonvis
Member Posts: 41 ✭✭
Can somebody please help me out, I trying for days to get a flat surface sweeped along a helix etc. The goal is to create a flat spring, where later fillets are positioned from which a solid can be created.
I don't get an error message.
// var path = ( offset1 + arc1+id + helix4 + offset2 + arc2);
var profile = qCreatedBy(id + "sketch8", EntityType.EDGE);
var profile1 = qOwnedByBody(profile, EntityType.EDGE);
var path = qCreatedBy(id + "arc2", EntityType.EDGE);
/*
opSweep(context, id + "sweep4", {
// "profiles" : profile,
"profiles" : profile1,
"path " : path
});
*/
var profile = qCreatedBy(id + "sketch8", EntityType.EDGE);
var profile1 = qOwnedByBody(profile, EntityType.EDGE);
var path = qCreatedBy(id + "arc2", EntityType.EDGE);
/*
opSweep(context, id + "sweep4", {
// "profiles" : profile,
"profiles" : profile1,
"path " : path
});
*/
Many thanks for any help.
0
Best Answer
-
NeilCooke Moderator, Onshape Employees Posts: 5,714You can't pick out a specific sketch entity using id + "arc2" (that does not exist as it is part of id + "sketch7"). If you only want one edge from a sketch, use https://cad.onshape.com/FsDoc/library.html#sketchEntityQuery-Id--stringSenior Director, Technical Services, EMEAI6
Answers