View Issue Details

IDProjectCategoryView StatusLast Update
0001504DraftFeaturepublic2014-04-17 22:06
Reporteryorik Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionfixed 
Summary0001504: Draft Layer object
DescriptionA "layer" object, that works similarily to the autocad layer:

- based on DocumentObjectGroupPython
- has a LineColor property
- has a LineWeight property
- has a Printable property (boolean)
- propagates the LineColor/LineWeight values to children, when changed
- can be used by the Draft DXF exporter & importer
- can be used in Drawing pages
TagsNo tags attached.
FreeCAD Information

Activities

Pauvres_honteux

2014-04-13 17:01

reporter   ~0004557

Hi, please do not make the usage of this feature mandatory.
I've been working with this feature quite some years before I switched to, the upper class grade cad system to, a well known french cad system. While not implying the french system would be superior, I do underline it takes less effort, and time, to make the same thing in the southern European system compared to the system from the opposite side of the pond, i.e. AutoCad.
Using layers do add a lot of extra work for the design engineer as she/he must decide, and act upon, which layer the next command shall be associated with.
A smarter way may be to assign some properties like values: width, colour, slope, length, protrusion and so on for each and every feature. Like an arrow or a dimension line. Then ask the user if they would like to use it from now on and in a consecutive manner. Then you'd get the desirable behaviour from this point and onwards.
One can always add layers behavior to the default but not force a user to use it.
For what ever it's worth, this is my opinion.

Reagards/ Pauvres_honteux

yorik

2014-04-13 17:23

administrator   ~0004558

Hi Pauvres_honteux,
Thanks for the feedback,
Of course it won't be mandatory... Just a convenience tool for who needs it. We rarely do mandatory things here ;) I'll probably also add an option to the DXF import to specify if you want your DXF layers to be imported as Draft layers or not. So you should be totally free to use it or not.
The workflow you describe is more or less what happens now in the draft module.

Related Changesets

FreeCAD: master 6f896d8f

2014-04-17 23:18:51

yorik

Details Diff
Draft: Added Layer tool - issue 0001504 Affected Issues
0001504
mod - src/Mod/Arch/InitGui.py Diff File
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/DraftTools.py Diff File
mod - src/Mod/Draft/Draft_rc.py Diff File
mod - src/Mod/Draft/InitGui.py Diff File
mod - src/Mod/Draft/Resources/Draft.qrc Diff File
add - src/Mod/Draft/Resources/icons/Draft_Layer.svg Diff File
mod - src/Mod/Drawing/App/FeaturePage.cpp Diff File

FreeCAD: master e2b24d86

2014-04-18 00:02:57

yorik

Details Diff
Draft: DXF in/out now supports Draft Layers - fixes 0001504 Affected Issues
0001504
mod - src/Mod/Draft/Draft.py Diff File
mod - src/Mod/Draft/Draft_rc.py Diff File
mod - src/Mod/Draft/Resources/ui/userprefs-import1.ui Diff File
mod - src/Mod/Draft/importDXF.py Diff File

Issue History

Date Modified Username Field Change
2014-04-12 16:54 yorik New Issue
2014-04-12 16:54 yorik Status new => assigned
2014-04-12 16:54 yorik Assigned To => yorik
2014-04-12 16:55 yorik Description Updated
2014-04-12 16:55 yorik Project FreeCAD => Draft
2014-04-13 17:01 Pauvres_honteux Note Added: 0004557
2014-04-13 17:23 yorik Note Added: 0004558
2014-04-17 21:22 yorik Changeset attached => FreeCAD Master master 6f896d8f
2014-04-17 22:06 yorik Changeset attached => FreeCAD Master master e2b24d86
2014-04-17 22:06 yorik Status assigned => closed
2014-04-17 22:06 yorik Resolution open => fixed