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
-
You 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, EMEA6
Answers
-
You 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, EMEA6

