View Issue Details

IDProjectCategoryView StatusLast Update
0000606DrawingFeaturepublic2014-12-17 19:10
Reportershoogen Assigned Toyorik  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version0.12 
Summary0000606: Set line width for projection views in drawing using the template system
DescriptionThe current value for a thick line seems to be hard coded to 0.35mm.
According to ISO 128 other values are allowed in drawings. Currently there is no way to change the line thickness, neither from the GUI nor via the template system.
TagsNo tags attached.

Relationships

related to 0001863 closed Global preference for drawing line width 

Activities

yorik

2012-02-16 23:41

administrator   ~0001638

I would vote for a "Line thickness" property for all DrawingView objects...

shoogen

2012-04-29 10:49

developer   ~0001982

Since the line thickness can be configured in the GUI, this ticket should be renamed to something like 'propagate drawing linewidth via the template mechanism'.
I think we may only need a few sybolic constants that would be replaced by the appropierte multiple of the linewith. Those are: fullwidth (1x), halfwidth (0.5x), symbolwidth (1/sqrt(2)x) and textheigth (10x).
Parsing and evaluating mathematicial expression from the template should not be nessesarry.

yorik

2012-04-29 20:22

administrator   ~0001983

Yes that might be a good idea, we could set something like this: have those 4 values by default, and they can be overridden in a page template (for ex. attributes of the main <svg> tag)...

But I'm not sure if it will be very useful, quickly drawings will become too complex to rely only on these definitions (you'll want other line thicknesses for cut objects, then different line styles for different materials, etc. It can go very far.

I think maybe we should think of a general way to manage those "svg styles"...

shoogen

2012-10-07 10:28

developer   ~0002441

The next thing to improve is to assure that the symbol for the projection method and the actually used projection method match.

normandc

2012-10-21 02:52

manager   ~0002457

You mean the symbol showing on the Page Template? I figure this is the job of the designer to make sure he's using the right symbol...

In any case, there is no such checking mechanism in any CAD software I've used over the years.

Related Changesets

FreeCAD: master eab159b6

2014-01-01 17:41:39

yorik

Details Diff
Drawing: Added property to set hidden line width - fixes 0000606 Affected Issues
0000606
mod - src/Mod/Drawing/App/FeatureViewPart.cpp Diff File
mod - src/Mod/Drawing/App/FeatureViewPart.h Diff File
mod - src/Mod/Drawing/App/ProjectionAlgos.cpp Diff File
mod - src/Mod/Drawing/App/ProjectionAlgos.h Diff File

Issue History

Date Modified Username Field Change
2012-02-16 10:49 shoogen New Issue
2012-02-16 23:41 yorik Note Added: 0001638
2012-04-29 10:49 shoogen Note Added: 0001982
2012-04-29 20:22 yorik Note Added: 0001983
2012-04-29 20:32 yorik Status new => assigned
2012-04-29 20:32 yorik Assigned To => yorik
2012-05-05 17:47 yorik Project FreeCAD => Drawing
2012-10-07 10:28 shoogen Note Added: 0002441
2012-10-21 02:52 normandc Note Added: 0002457
2014-01-01 16:44 yorik Changeset attached => FreeCAD Master master eab159b6
2014-01-01 16:44 yorik Status assigned => closed
2014-01-01 16:44 yorik Resolution open => fixed
2014-12-17 19:10 shoogen Relationship added related to 0001863