Commit Graph

352 Commits

Author SHA1 Message Date
Yorik van Havre
c6b0c86989 added editable texts to the default A3 template 2011-12-29 19:33:46 -02:00
Yorik van Havre
59f1485005 Added editable texts to DrawingPage
- Editable texts can be added to templates by adding a
  freecad:editable="textName" attribute to SVG <text> tags
- Added EditableTexts property (stringlist) to FeaturePage objects
- Instead of writing directly the SVG fragments to the temp file,
  they are scanned for editable texts, and if needed those are
  changed, then the final temp file is written, allowing for
  editable texts anywhere, even in FeatureView objects
- On changing the Template, editable texts are picked and
  stored in the EditableTexts property.
2011-12-29 19:02:58 -02:00
Yorik van Havre
0ce7a0dda7 Merge branch 'master' into drawingpage 2011-12-26 12:31:01 -02:00
Yorik van Havre
3e48193ada fixed bug #549 - Undo of offset objects causes Draft tools to stop functioning 2011-12-25 17:49:30 -02:00
Yorik van Havre
c6c12a1ecf added Start and End properties to 2-point Draft lines 2011-12-25 17:02:12 -02:00
unknown
c045ba84d9 Merge ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2011-12-24 17:46:38 +01:00
Yorik van Havre
9cf345ecfb + small fix in DraftSnap 2011-12-24 14:31:30 -02:00
logari81
6b89ba2641 + initial support for external geometry constraints in sketches (work in progress)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5346 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 16:12:45 +00:00
logari81
b865c2e276 + simplify drawing and selection of root cross lines
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5345 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 15:53:19 +00:00
logari81
40ebead233 + modified declaration of external geometry in setUpSketch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5344 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 15:37:11 +00:00
yorikvanhavre
1fc47ecc1a + extended DraftSnap 2011-12-24 13:35:01 -02:00
yorikvanhavre
738371ef37 + extended DraftSnap
(Git allows cool commit messages) The DraftSnap system gained
an ortho X extension snap location, the ortho snap got fixed,
and a new getPoint() method, which you can feed with a callback
function to be called when a point has been clicked.
2011-12-24 13:28:44 -02:00
logari81
137904c5a8 + support external geometry and coordinate system axes in the SketchObject class
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5343 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 12:11:18 +00:00
logari81
247bf144e3 + implement getGeometry method for accessing Geometry in SketchObject
+ increase use of constness in accessing SketchObject geometry
+ simplify DrawSketchHandler
+ variables naming improvements


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5342 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 11:47:37 +00:00
logari81
590b0469c3 + untabify, remove unused variables
+ use Constraint::GeoUndef for comparisons where possible
+ fix two absurdly implemented loops


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5341 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 08:21:18 +00:00
logari81
3c9053a599 + preparation for external geometry constraints in the sketcher
+ change value of H_Axis and V_Axis constants
+ external Geometry transferred in reverse order from SketchObject to Sketch
+ replace construction property with external property in GeoDef
+ support negative geometry indices in the Sketch class
+ whitespace and variables naming improvements, typo fixes


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5340 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 00:25:34 +00:00
logari81
95c6daa631 + fix small bug in saving of PropertyLinkSubList
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5339 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-23 23:11:03 +00:00
yorikvanhavre
a7053861b5 further work on DrawingPage 2011-12-23 19:15:14 -02:00
wmayer
d0e7e9dabc 0000552: Add the ability to calculate inertial properties of parts
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5338 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-23 17:40:58 +00:00
wmayer
eb2e4a7a73 + add attribute MatrixOfInertia to solid
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5337 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-22 14:15:44 +00:00
logari81
f79cc9e021 + fix a bug in the Axis class
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5336 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-21 22:40:26 +00:00
wmayer
791aca3c2c + fix changing 3d view when switching from Complete workbench to any other workbench
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5335 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-21 17:14:04 +00:00
wmayer
d388f35fd0 0000525: Crash when doing an undo of an already deleted object
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5334 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-21 17:07:41 +00:00
wmayer
aab04bd85e 0000502: Help -> "Python Manuals" displays missing file dialog(windows) / does nothing(ubuntu)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5333 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-21 15:24:19 +00:00
jriegel
7f41cb84d5 + test for git
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5332 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-21 10:43:32 +00:00
jriegel
f6a2b88bb2 Merge branch 'master' into HEAD
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5331 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-21 10:37:43 +00:00
jriegel
0e48e5c620 small test modification 2011-12-21 11:23:19 +01:00
wmayer
588c246918 + show wait cursor for refinement command
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5330 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 19:24:41 +00:00
wmayer
81906b86a4 + updated refinement algorithm (tanderson69)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5329 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 19:16:18 +00:00
wmayer
4cb8920c15 + fix VS2010 build errors
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5328 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 10:25:52 +00:00
wmayer
dd88426df6 + added missing license info
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5327 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 10:06:08 +00:00
yorikvanhavre
9c7f5499b1 + added Point command to the Draft module (danfalck)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5326 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-20 00:59:26 +00:00
yorikvanhavre
7ed0b0ae49 + further work on DraftSnap
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5325 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-19 15:17:22 +00:00
wmayer
92233011a9 + fix VS2010 build errors
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5324 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-19 11:45:00 +00:00
yorikvanhavre
889e0a3016 + better depth-sorting in the Arch SectionPlane
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5323 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-18 20:06:48 +00:00
yorikvanhavre
5b1c692c21 + added dot icons to Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5322 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 15:36:02 +00:00
yorikvanhavre
db7efd3bf3 + Draft Snapper now accepts a coin.SbVec2s as screen position
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5321 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 14:47:11 +00:00
wmayer
d41f67e84f + fix for refinement algorithm
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5320 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 13:15:30 +00:00
yorikvanhavre
2cf72ff194 + fixed remaining filename issues in Arch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5319 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 13:07:38 +00:00
wmayer
52d65e2085 + port to OCC 6.5.2
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5318 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 12:58:47 +00:00
wmayer
3888e949f4 0000535: request for python editible Properties panels
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5317 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-17 00:44:08 +00:00
yorikvanhavre
071b657df7 + new Draft Snap
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5316 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 19:54:32 +00:00
yorikvanhavre
a31aeca829 + fixed 'No main Window' bug in Draft
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5315 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 13:03:10 +00:00
wmayer
040a5c16cd + fix crash in refinement algorithm
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5314 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 11:13:59 +00:00
wmayer
74cad3c134 + fixes in ortho view (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5313 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-16 10:26:27 +00:00
wmayer
498b2163e2 + fix linker error
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5312 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 22:11:19 +00:00
wmayer
5593d0515c + fix little translation issue
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5311 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 18:36:07 +00:00
wmayer
eac5828903 + add patch for ortho view (j-dowsett)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5310 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 18:31:59 +00:00
yorikvanhavre
4748657016 + started implementing the new Draft snap
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5309 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 17:20:23 +00:00
wmayer
133c519ea3 0000539: Write message if off-screen rendering failed
+ use removeSplitter() in shape builder

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5308 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-15 17:12:45 +00:00