hidden lines are really hidden

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
ariane_tux
Posts: 8
Joined: Thu Dec 10, 2009 9:35 pm

hidden lines are really hidden

Post by ariane_tux »

Hi,

while playing a little bit with the "Drawing Modul" I observed that there are some lines missing:

1) create a box
2) create a Cylinder in the middle of the box
3) cut box and cylinder (box with a hole)
4) create a page (A3)
5) create a view (show hidden lines and and look at a solid side)

=> there is only 1 hidden line, instead of 2 hidden lines

I have uploaded a example file to http://www.spranger.biz/~bene/test_drawing.fcstd
ATTENTION: freecad crashes!
but that is for something complete different...
wmayer
Founder
Posts: 20317
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: hidden lines are really hidden

Post by wmayer »

Hi Bene,

Hm, I'm not sure if this is a bug. This depends on what the hidden-line-removal algorithm is supposed to do. If you select the cut feature, put it into the same direction as in the SVG and set its display mode to wireframe you'll see only one edge of the cylinder. But I think as normal user one assumes that the silhouette of the cylinder is used instead of its wireframe representation.

But I guess it's clearly a bug that the line inside the cube is broken.

Cheers,
Werner
bene42

Re: hidden lines are really hidden

Post by bene42 »

Hi Werner,

I thought more in the Direction of a technical drawing, like a drill hole. In a projection (with hidden lines) I estimate somethink like this:

Code: Select all

#-----------------------#
|        :  :           |
|        :  :           |
|        :  :           |
|        :  :           |
#-----------------------#
Regards,
Bene
ariane_tux
Posts: 8
Joined: Thu Dec 10, 2009 9:35 pm

Re: hidden lines are really hidden

Post by ariane_tux »

Hi Werner,

played a little bit. I don't think the following patch solves all problems, but it produces
IMHO better drawings (blueprint in mind).

Patch: http://www.spranger.biz/~bene/0001-show ... ines.patch

Regards
Bene
wmayer
Founder
Posts: 20317
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: hidden lines are really hidden

Post by wmayer »

Hi Bene,

thanks for the patch again. Yes, this improves this issue a lot.

Cheers,
Werner
Post Reply