elliotf / heekscad

Automatically exported from code.google.com/p/heekscad
0 stars 0 forks source link

Sketch on Face sketches somewhere else #240

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a cuboid
2. Right-click a face, select "Sketch on face"
3. Select the rectangle tool, and draw rectangles. 

What is the expected output? What do you see instead?
I would expect to see rectangles on the faces of the cuboid, instead the 
rectangles appear in the 
base coordinate system, the same distance from the origin as the click-points 
are from the 
newly-created face coordinate system.
In some cases (depending on the face chosen to sketch on) the rectangles are 
triangles. 

What version of the product are you using? On what operating system?
Windows v0.11.0
Mac 0.11.1 

Original issue reported on code.google.com by bodge...@gmail.com on 31 Jan 2010 at 7:36

Attachments:

GoogleCodeExporter commented 9 years ago
I have fixed this now.
The "Sketch on face" function was added by Jon Pry and I had not used it before.
I have also added a "End Sketch Mode" to the right-click menu.

Original comment by danhe...@gmail.com on 2 Feb 2010 at 12:13

GoogleCodeExporter commented 9 years ago
Thanks for the quick response and solution. 
I have compiled the new version, and rectangle/circle drawing on a face is now 
fixed. However if you then 
extrude the rectangle, the solid created appears in the "old" position (and in 
the case where the face was 
orthogonal to the cuboid extrude direction, it becomes a 2-D extrusion too. 

Original comment by bodge...@gmail.com on 2 Feb 2010 at 8:45

GoogleCodeExporter commented 9 years ago
I saw on IRC that you found that:
"andypugh>  Oh, wait. As long as I explicity create a coordinate system to 
extrude in,
it's fine."

Are things working for you now then?

Original comment by ddfalck2...@yahoo.com on 3 Feb 2010 at 1:18

GoogleCodeExporter commented 9 years ago
Now I know you watch that, I will be more polite there :-)

I have found that I can make it work, but not in the way I would expect. 
As some background, I used to use Autodesk Inventor all day, every day for a 
couple 
of years, so certain work-flows are hard coded. 

I am trying to cut holes through a cube from various faces as an exercise.
What does work is to draw the profile as lines, editing the coordinates by hand 
to be 
on the face of the cube. If I then create a face from the sketch, then create a 
coordinate system from the face, then extrude the face, it works. 

If I "sketch on face" of the cube with lines, then make into a face and just 
extrude 
it, then the extrusion will tend to be in world-Z (I think)

If I sketch-on-face with the rectangle tool, then the rectangle now appears in 
the 
right place, but the extrusion seems to appear relative to work coordinates not 
sketch coordinates. 

I think I need to perform some more experiments tonight to pin down exactly 
what 
works and what doesn't. I realise I am not giving you enough points in the 
experimental matrix here. 

However, this is what I expect to happen, from my Inventor experience (and 
accepting 
that there are many other equally valid choices). 
You click on a face (or a workplane) and create a sketch. That sketch is now 
locked 
to the face, and moves in space with the parent solid. 
If you extrude that sketch, it extrudes normal to the parent face. If you want 
some 
other behaviour (extrusion at an angle, for example) then you define a line or 
curve  
and sweep along that. 

Anyway, let me fiddle around some more tonight and pin down what exactly is 
happening  
as regards coordinate systems etc.

Original comment by bodge...@gmail.com on 3 Feb 2010 at 9:42