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.
opExtrude with UP_TO_NEXT
emagdalenaC2i
Member, Developers, Channel partner Posts: 867 ✭✭✭✭✭
Hi
I am trying to simplify a FeatureScript using the UP_TO_NEXT option in opExtrude instead of BLIND, but it doesn't seem to work.
This is the part of code:
// Extruye el panel hasta la cara opuesta
opExtrude(context, id + "extrude1", {
"entities" : frameRegionToExtrude,
"direction" : framezDirection,
"endBound" : BoundingType.UP_TO_NEXT,
});
And this is the FeatureScript notices:
I am missing a parameter or anything else?
I am trying to simplify a FeatureScript using the UP_TO_NEXT option in opExtrude instead of BLIND, but it doesn't seem to work.
This is the part of code:
// Extruye el panel hasta la cara opuesta
opExtrude(context, id + "extrude1", {
"entities" : frameRegionToExtrude,
"direction" : framezDirection,
"endBound" : BoundingType.UP_TO_NEXT,
});
And this is the FeatureScript notices:
|
@opExtrude: EXTRUDE_UPTO_NEXT_NO_DIVISION
|
|||
|
|
166:12 |
onshape/std/geomOperations.fs (opExtrude)
|
|
|
|
567:13 |
AluminiumProfile (const AluminiumProfile)
|
|
|
|
52:17 |
onshape/std/feature.fs (defineFeature)
|
|
|
|
605:21 |
Estructura (const buildPrivate)
|
|
|
|
608:13 |
Estructura (const buildPrivate)
|
|
|
|
27:17 |
onshape/std/partStudio.fs (definePartStudio)
|
|
|
|
17:12 |
Estructura (build)
|
|
|
|
7:12 |
Estructura (main) | |
I am missing a parameter or anything else?
Un saludo,
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común
0
Comments
-
The error suggests that the code is fine, but the extrusion is failing in the part studio because the "next" body doesn't completely bound the extrusion (its projection doesn't cover the profile). I think for anything more specific as to why it's failing, we'd need to see the part studio and the code. Hope this helps.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc1
-
ok, thanks
It doesn't "completely" bound the extrusion
Un saludo,
Eduardo Magdalena C2i Change 2 improve ☑ ¿Por qué no organizamos una reunión online?
Partner de PTC - Onshape Averigua a quién conocemos en común0

