Simon
1815a9ef4d
Fix wrong variable name symbolLineWidth -> svgSymbolLineWidth.
2017-04-23 19:42:25 -03:00
Simon
e2b5c16c05
ArchSectionPlane: Fix incomplete SVG because of = instead of +=.
2017-04-23 19:42:25 -03:00
Simon
f673658a22
ArchSectionPlane: Remove placeholders in getSVG and more clean up.
...
getSVG puts placeholders in the generated SVG code and replaces them
afterwards with length values. With the changes of the previous commits
this seems not to be necessary anymore.
I replace them in a separate commit so this change can be reverted easily.
2017-04-23 19:42:25 -03:00
Simon
99247f57d7
ArchSectionPlane: Add properties for the line color and the fill color
...
* Both properties are automatically added to old section planes
with the help of onDocumentRestored.
* A bit of style clean up to improve the readability of touched code lines.
2017-04-23 19:42:25 -03:00
Simon
9633c94515
ProjectionAlgos: Make the style of the lines in the SVG file configurable.
...
* getSVG provides new style parameters for every kind of line:
V, V0, V1, H, H0, H1.
* Old line width parameters are removed. The style parameters
can be used instead.
* A style is a map container for svg attribute keys and values
(string, string).
* The Python interface is updated to offer the new style parameters
accordingly as a dict.
* Because there are many parameters on the function call now,
the Python interface supports keyword parameters.
* Update ArchSectionPlane to take advantage of the new style parameters.
This simplifies the code. String replacements could be removed
(done in a later commit).
* FeatureViewPy.cpp is – to my knowledge – the only function that used the
old line width parameters. I rewrote it to use the new style parameters.
2017-04-23 19:42:25 -03:00
Yorik van Havre
177c350a16
Arch: misc minor bugfixes
2017-03-08 15:55:07 -03:00
Yorik van Havre
67fdbfdbeb
Arch: Fixed bug in Section Plane + TechDraw view when the section is empty
2017-01-19 17:54:58 -02:00
looooo
2bc1162193
py3: Arch: print fixes
2017-01-17 11:13:36 +01:00
Priit Laes
1591601654
py3: Arch: *.py: Fix syntax for python3
2017-01-17 09:24:46 +01:00
wmayer
d9b1ce7ca2
remove UnicodeUTF8
2016-12-27 19:31:25 +01:00
Yorik van Havre
223dd70b99
Arch: Small fix in section plane's Drawing view object
2016-12-10 11:23:04 -02:00
Yorik van Havre
af97583026
Doc: Fixes in doxygen docs for Draft,Arch, FEM
2016-11-17 17:04:09 -02:00
Yorik van Havre
945d99f982
Draft: implemented dxf export of techdraw pages
2016-11-05 15:13:48 -02:00
Yorik van Havre
c465ca261c
Arch: Added preference setting to control linewidth of Draft objects seen by Arch Section Planes
2016-11-03 16:40:12 -02:00
Yorik van Havre
6951705835
Arch: Support for opening symbols - fixes #2353
2016-11-02 20:10:20 -02:00
Yorik van Havre
e2e73af4ac
TechDraw: Fixed solid rendering of Arch Views
2016-11-02 13:14:31 -02:00
Yorik van Havre
195ea429e6
Arch: fixed rotation of space labels in techdraw
2016-11-01 18:53:48 -02:00
Yorik van Havre
4ee8a2a53d
Arch: Section planes can now also include Draft stuff (dimensions, etc)
2016-10-31 11:10:08 -02:00
Yorik van Havre
801f36cc39
Arch: cosmetic fixes in task panels
2016-10-28 17:14:41 -02:00
Yorik van Havre
54a8e856cc
TechDraw: Arch View
2016-10-28 14:58:22 -02:00
Yorik van Havre
dabccc40b6
Made Arch objects properties translatable - issue #2524
2016-10-07 21:37:15 -03:00
Yorik van Havre
1749315ead
Arch: fixed error message when restoring section planes
2016-09-13 20:06:25 -03:00
Yorik van Havre
affbed135a
Draft: Improvement to Draft Drawing views
...
* Property to specify if the view must appear even if the Source obj is off
* Property to set the line spacing for multiline texts
2016-05-30 13:23:37 -03:00
Yorik van Havre
e6dd3488ff
removed translation from property descriptions (wrong to do it there anyway) - issue #2524
2016-05-18 16:59:15 -03:00
Yorik van Havre
ed037c138e
Arch: Fixed section plane's clipping - fixes #2063
2015-12-28 16:56:53 -02:00
Yorik van Havre
474c114e66
Arch: fixed projection of Drawing views of arch sectionplanes - fixes #2233
2015-12-23 11:32:36 -02:00
Yorik van Havre
9d0f4ba46e
Arch: Added editmode to Section Planes - fixes #2098
2015-11-28 14:51:40 -02:00
Yorik van Havre
58b41b9550
Arch: Fixed flipped Space names
2015-11-16 16:11:32 -02:00
Yorik van Havre
fa550f0957
Arch: bigger default section plane - fixes #2189
2015-09-04 12:49:03 -03:00
Yorik van Havre
4379846dfa
Arch: Section planes now restore the view clipping when loaded
2015-06-22 21:58:56 -03:00
wood-galaxy
7843225fad
Arch : Arch Section take current WorkingPlane Placement
2015-05-24 17:03:45 -03:00
Yorik van Havre
bab894b775
Arch: Better output of ArchVRM renderer
2015-04-20 18:34:40 -03:00
Yorik van Havre
df074d117e
Draft: Fixed arc direction in SVG projections
2015-03-21 12:08:05 -03:00
Yorik van Havre
77f6684dfe
Arch: Enabled section filling in Arch drawing views
2015-03-21 12:08:05 -03:00
Yorik van Havre
2afea6c661
Arch: Allow section planes to clip the 3D view
2015-03-21 12:08:05 -03:00
wood galaxy
95c0fe3a84
Arch : Internal object name are in English.
...
Arch objets Label could be translated.
2015-01-05 13:13:45 -02:00
Yorik van Havre
3f607d73a4
Arch: Fixed Arch example - fixes #1789
2014-12-31 14:42:22 -02:00
Yorik van Havre
58a84d2748
Arch: small fix in sectionplane - fixes #1836
2014-11-23 19:23:13 -02:00
Sebastian Hoogen
e820a32653
issue #1701
2014-09-27 13:07:30 -03:00
Yorik van Havre
b33d8f6244
Draft - Allow to export Drawing pages to DXF - fixes #1686
...
* Uses DXF algos of the Drawing module instead of the Draft dxf library
* Uses a DXF template with the same name as the SVG template, if existing
* Only Draft, Arch, Part and Annotation views are currently supported
* Drawing module's projectToDXF() now returns only a fragment instead of a full DXF file
2014-08-15 18:14:17 -03:00
Yorik van Havre
d0288deabb
Arch: small bugfixes in Drawing projection stuff
2014-08-13 16:21:08 -03:00
Yorik van Havre
a9b5970512
Arch: Misc improvements to section planes
2014-08-13 00:28:27 -03:00
Yorik van Havre
46583f2960
Used Gui.addModule() instead of import in Draft & Arch
2014-08-05 19:38:40 -03:00
Yorik van Havre
eea27448e9
Arch: Fixed bugs when working without GUI
2014-07-17 19:58:22 -03:00
Yorik van Havre
13e006cf35
Arch: added an option to section planes to allow non-solids to be cut too
2014-06-21 11:59:33 -03:00
Johannes Reinhardt
4a6449d2bd
deactivate commands in Arch if no document is open
2014-05-21 17:09:02 +02:00
Yorik van Havre
0d7d568600
Draft: refinements in Arch & Draft Drawing views
2014-04-14 13:29:55 -03:00
Yorik van Havre
eed8ec27df
Arch: Don't create a drawing view on section plane creation
...
This was very heavy and often caused unnecessary computations. Adding
a new Drawing view is now done manually, with the Draft to Drawing tool
2014-03-09 19:44:36 -03:00
Yorik van Havre
b6c24cfc35
Arch: minor fixes around Arch & Draft
2014-03-07 20:44:22 -03:00
Yorik van Havre
e398f3ee7e
Arch: Fixed SectionPlane direction
2014-03-04 13:51:18 -03:00