Commit Graph

97 Commits

Author SHA1 Message Date
Yorik van Havre
b4a4154556 Arch: Section plane is now created at center of selected objects 2018-08-27 22:09:03 -03:00
Yorik van Havre
42384e1a58 Arch: Added preference option for screen helpers color (axes, grids, etc...) 2018-07-25 10:56:12 -03:00
luz.paz
92e9659fba Misc. comment typos
+ Found via `codespell -q 3 --skip="*.po,*.ts,./.git,./src/3rdParty,./src/CXX,./src/zipios++,./src/Mod/Assembly/App/opendcm" -I ~/Projects/fc-word-whitelist.txt`

+ crowdin translation refinements:  
- https://crowdin.com/translate/freecad/6766/en-en#6499546
- https://crowdin.com/translate/freecad/6766/en-en#6504496
2018-06-13 20:37:17 -04:00
Yorik van Havre
0bae245b26 Arch: separate properties creation in own methods and check properties at file load 2018-06-01 19:36:35 -03:00
Yorik van Havre
a805bf82a4 Arch: Added CutMargin property to section planes 2018-05-14 12:34:14 -03:00
Yorik van Havre
d49a194279 Arch/Draft: Make sure an active doc exists before creating objects 2018-05-08 16:07:55 -03:00
Simon
0103762152 Fix wrong variable name symbolLineWidth -> svgSymbolLineWidth. 2017-04-23 19:42:25 -03:00
Simon
608968a9d2 ArchSectionPlane: Fix incomplete SVG because of = instead of +=. 2017-04-23 19:42:25 -03:00
Simon
980ff80ab7 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
15b0a425f5 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
1e854a482d 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
94faa9dd2b Arch: misc minor bugfixes 2017-03-08 15:55:07 -03:00
Yorik van Havre
f95e8fda94 Arch: Fixed bug in Section Plane + TechDraw view when the section is empty 2017-01-19 17:54:58 -02:00
looooo
9cedf0f2e4 py3: Arch: print fixes 2017-01-17 11:13:36 +01:00
Priit Laes
c55216c2a9 py3: Arch: *.py: Fix syntax for python3 2017-01-17 09:24:46 +01:00
wmayer
50dc459d42 remove UnicodeUTF8 2016-12-27 19:31:25 +01:00
Yorik van Havre
0e73643636 Arch: Small fix in section plane's Drawing view object 2016-12-10 11:23:04 -02:00
Yorik van Havre
bf0d37bf28 Doc: Fixes in doxygen docs for Draft,Arch, FEM 2016-11-17 17:04:09 -02:00
Yorik van Havre
df69eccac7 Draft: implemented dxf export of techdraw pages 2016-11-05 15:13:48 -02:00
Yorik van Havre
4fc0cc2286 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
fe8f0945d7 Arch: Support for opening symbols - fixes #2353 2016-11-02 20:10:20 -02:00
Yorik van Havre
dcacee28e0 TechDraw: Fixed solid rendering of Arch Views 2016-11-02 13:14:31 -02:00
Yorik van Havre
b548d7148e Arch: fixed rotation of space labels in techdraw 2016-11-01 18:53:48 -02:00
Yorik van Havre
1351399707 Arch: Section planes can now also include Draft stuff (dimensions, etc) 2016-10-31 11:10:08 -02:00
Yorik van Havre
2f7aecd3e0 Arch: cosmetic fixes in task panels 2016-10-28 17:14:41 -02:00
Yorik van Havre
0843237c69 TechDraw: Arch View 2016-10-28 14:58:22 -02:00
Yorik van Havre
210455d7db Made Arch objects properties translatable - issue #2524 2016-10-07 21:37:15 -03:00
Yorik van Havre
9603817dea Arch: fixed error message when restoring section planes 2016-09-13 20:06:25 -03:00
Yorik van Havre
41ffcc81b0 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
f40758eba9 removed translation from property descriptions (wrong to do it there anyway) - issue #2524 2016-05-18 16:59:15 -03:00
Yorik van Havre
38cef7a518 Arch: Fixed section plane's clipping - fixes #2063 2015-12-28 16:56:53 -02:00
Yorik van Havre
3064e2b68d Arch: fixed projection of Drawing views of arch sectionplanes - fixes #2233 2015-12-23 11:32:36 -02:00
Yorik van Havre
de8c2cbb66 Arch: Added editmode to Section Planes - fixes #2098 2015-11-28 14:51:40 -02:00
Yorik van Havre
6ba8b864d5 Arch: Fixed flipped Space names 2015-11-16 16:11:32 -02:00
Yorik van Havre
eae6423979 Arch: bigger default section plane - fixes #2189 2015-09-04 12:49:03 -03:00
Yorik van Havre
8d395620db Arch: Section planes now restore the view clipping when loaded 2015-06-22 21:58:56 -03:00
wood-galaxy
e13db78219 Arch : Arch Section take current WorkingPlane Placement 2015-05-24 17:03:45 -03:00
Yorik van Havre
b988ad0016 Arch: Better output of ArchVRM renderer 2015-04-20 18:34:40 -03:00
Yorik van Havre
a2aaf1b37d Draft: Fixed arc direction in SVG projections 2015-03-21 12:08:05 -03:00
Yorik van Havre
fb5b578138 Arch: Enabled section filling in Arch drawing views 2015-03-21 12:08:05 -03:00
Yorik van Havre
83c73abaf7 Arch: Allow section planes to clip the 3D view 2015-03-21 12:08:05 -03:00
wood galaxy
496ec111fd Arch : Internal object name are in English.
Arch objets Label could be translated.
2015-01-05 13:13:45 -02:00
Yorik van Havre
7e4c1f2d5c Arch: Fixed Arch example - fixes #1789 2014-12-31 14:42:22 -02:00
Yorik van Havre
f4915d9018 Arch: small fix in sectionplane - fixes #1836 2014-11-23 19:23:13 -02:00
Sebastian Hoogen
9ad67346cc issue #1701 2014-09-27 13:07:30 -03:00
Yorik van Havre
1003e556cb 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
f2bde70bd5 Arch: small bugfixes in Drawing projection stuff 2014-08-13 16:21:08 -03:00
Yorik van Havre
60d9335b8f Arch: Misc improvements to section planes 2014-08-13 00:28:27 -03:00
Yorik van Havre
5dbb3fb803 Used Gui.addModule() instead of import in Draft & Arch 2014-08-05 19:38:40 -03:00
Yorik van Havre
b9d96464be Arch: Fixed bugs when working without GUI 2014-07-17 19:58:22 -03:00