USER FORUM
(you are viewing a thread; or go back to list of threads)
Two situations in which I get unexpected errors (by videbar)
I recently started learning solvespace and I've encountered two situations in which I get an error and I don't quite understand why. I'm attaching an example of each case in the form of two slvs files and two png files that show the models.
1. The first case is when I define a 2d sketch and I create an extrusion on difference. If I then apply a constrain to define the length of the extrusion, everything is fine. However, if I try to apply a constrain on the points that are a result of the extrusion, I get a redundant constrains error. In the example I'm including, I have applied a midpoint constrain to one of the points resulting of the extrusion (the one marked with a blue circle in the png).
2. The second case is when I create an extrusion on difference from a curved shape, like an arc. When I then apply the difference I don't get an error on the property browser, but I can see on my sketch that certain parts turn red, which I assume means that there's some problem. I have experience similar problems when applying a revolution, so I assumed it is related to circular shapes.
1. The first case is when I define a 2d sketch and I create an extrusion on difference. If I then apply a constrain to define the length of the extrusion, everything is fine. However, if I try to apply a constrain on the points that are a result of the extrusion, I get a redundant constrains error. In the example I'm including, I have applied a midpoint constrain to one of the points resulting of the extrusion (the one marked with a blue circle in the png).
2. The second case is when I create an extrusion on difference from a curved shape, like an arc. When I then apply the difference I don't get an error on the property browser, but I can see on my sketch that certain parts turn red, which I assume means that there's some problem. I have experience similar problems when applying a revolution, so I assumed it is related to circular shapes.
(no subject) (by Andrew)
You are having problems in setting constraints. An extrusion has one degree of freedom, that is it height, and that also applies to points of the extrusion. A point to point constrains all 3 degrees of freedom of a point in 3d space, which is why you have an over constrained error. Ideally you have length constant for the extrusion, or a face to construing a point on. The alternative, where no suitable means of constraint is click "allowing redundant constraints" in the properties dialogue when the error shows.
There is a tutorial on constraints in the tutorials, and it will help you understand constraints.
There is a tutorial on constraints in the tutorials, and it will help you understand constraints.
RE: Andrew (by videbar)
Thanks! I can see what you're saying and I understand the error now. I will have a look at the constrains tutorial.
Do you happen to also know what the problem is with the second point? I'm not getting an error on the property browser but I can see that certain parts of the sketch are turning red, and I don't understand why this is.
Do you happen to also know what the problem is with the second point? I'm not getting an error on the property browser but I can see that certain parts of the sketch are turning red, and I don't understand why this is.
(no subject) (by Paul)
That last pic looks like you are cutting a rounded corner part way down a block. Solvespace has some trouble with boolean operations, particularly when surfaces become tangent. One option is to move the corner point further out so the wedge you're cutting off is bigger than needed. Or add lines at the ends of the arcs and move the 90 degree lines out a bit but keep their angles.
There might also be issues with coincident surfaces and booleans. The above suggestions address that too.
It's funny, more and more users of solvespace are learning to identify the problematic geometry and sharing workarounds !
There might also be issues with coincident surfaces and booleans. The above suggestions address that too.
It's funny, more and more users of solvespace are learning to identify the problematic geometry and sharing workarounds !
Post a reply to this comment: