Commit Graph

195 Commits

Author SHA1 Message Date
logari81
96c5dda4eb Sketcher: crashes fix and other small fixes for the polyline tool 2012-08-12 12:21:53 +02:00
wmayer
408e1dc8e1 Allow to customize cursor text color in sketcher 2012-08-10 11:04:26 +02:00
logari81
6cef178ae7 Merge branch 'logari81/sketcher' 2012-08-09 15:29:22 +02:00
wmayer
ba7be4f798 0000813: set colors dialog crash 2012-08-07 10:59:54 +02:00
logari81
fef08056a1 Sketcher, Issue 0000808: fix one more issue with restoring of external geometry 2012-08-07 01:21:45 +02:00
logari81
db2ccb31b4 Sketcher: improve position text during geometry creation 2012-08-06 23:05:31 +02:00
logari81
3f3b7cd68f Sketcher: allow starting a new polyline connected at some already available geometry 2012-08-06 16:13:09 +02:00
logari81
6b0f50d98c Sketcher: add perpendicular mode to polyline tool and use M-key for mode-switching 2012-08-06 13:34:29 +02:00
logari81
b3938ad045 Sketcher: simplify positioning of constraint icons 2012-07-18 16:26:24 +02:00
wmayer
fd637f2422 Make sure that ViewProviderSketch::unsetEdit exits normally 2012-07-18 14:33:14 +02:00
logari81
0016d6f2f8 Sketcher: fix crashes on geometry deletion in sketches with symmetry constraints 2012-07-18 13:23:38 +02:00
logari81
bd03134d4d Sketcher: on geometry delete, transfer constraints to equivalent geometries if possible 2012-07-18 11:59:20 +02:00
unknown
9c974969f5 Fix possible crash in various view providers, fix formatting of Coin debug output, fix warning and compiler errors with Coin2 in SoDatumLabel 2012-07-18 10:40:36 +02:00
mrlukeparry
14562ba540 Sketcher: fix incorrect datum text flip for non xy-plane sketches 2012-07-17 23:15:58 +02:00
logari81
01cd4abbba Sketcher: rewrite ViewProviderSketch::onDelete method 2012-07-17 12:49:37 +02:00
logari81
227cb0ebc8 Sketcher: fix an issue with autoconstraints and improve implementation 2012-07-17 12:47:08 +02:00
logari81
beb4fe82b4 Sketcher: fix some issues with external geometries 2012-07-17 12:43:43 +02:00
mrlukeparry
cba94b2660 Sketcher: improve symmetric constraint visual 2012-07-17 12:40:22 +02:00
mrlukeparry
223023d118 Sketcher: improved detection of constraints visuals overlapping 2012-07-17 11:00:31 +02:00
logari81
b3284357d2 Merge branch 'master' into logari81/sketcher 2012-07-17 10:15:51 +02:00
logari81
72cd746401 Sketcher: fix issues with single points 2012-07-16 12:11:20 +02:00
mrlukeparry
da7528c5b9 Sketcher, 0000466: improve visualization of constraints 2012-07-15 13:23:59 +02:00
logari81
755b62b57a Merge branch 'logari81/sketcher' 2012-07-13 13:04:43 +02:00
wmayer
6efe6ff0cb 0000789: Sketcher active in one document blocks closing another. 2012-07-11 17:24:53 +02:00
logari81
e5953cedac Sketcher: points defined as external geometry,
fix behavior of external geometry cursor,
          improve appearance of point creation cursor
2012-07-10 15:25:27 +02:00
logari81
47c44af453 Sketcher: fix crash in polyline with autoconstraints, disable arc mode for first polyline segment 2012-07-09 17:19:02 +02:00
logari81
044990333c Sketcher: skip root cross axes in vertex counting (fixes closing polylines) 2012-07-09 14:00:18 +02:00
logari81
c099e90d99 Sketcher: fixes in the new polyline tool and variables naming improvements 2012-07-08 12:11:53 +02:00
logari81
714908d3e9 Sketcher: add support for points as construction geometry 2012-07-08 12:01:07 +02:00
logari81
938fadc746 Sketcher: support arcs in the polyline tool (jonasthomas) 2012-07-02 00:13:34 +02:00
mrlukeparry
c5b2f377a4 Sketcher: improve position hints on arc and circle creation 2012-06-24 16:30:48 +02:00
wmayer
b4aff85333 Fix critical warnings 2012-06-13 18:49:10 +02:00
logari81
d92f627a8d Sketcher: simplify sketch solver messages 2012-05-26 20:02:57 +02:00
logari81
1e60d45dd4 Sketcher: fix minor issue in sketch diagnostics 2012-05-26 19:23:38 +02:00
logari81
7cbb16f2e8 Sketcher: include coincident constraints in the sketch diagnosis 2012-05-25 18:18:51 +02:00
logari81
b7965052a3 Sketcher: skip the latest added one of the detected redundant constraints 2012-05-25 18:13:56 +02:00
logari81
ce5d9a332a Sketcher, Issue #0000691: detect redundant constraints and skip them if necessary 2012-05-14 11:28:05 +02:00
logari81
63b2b239b1 Sketcher: use low precision solving during mouse drag and code simplifications 2012-05-14 10:55:44 +02:00
logari81
73d2fa9e61 Sketcher: avoid duplicate code and unnecessary arguments 2012-05-14 10:44:44 +02:00
wmayer
2ded296857 0000697: Text boxes to set dimension constraints insert a space between thousands and hundreds digits that makes the data invalid. 2012-05-07 11:18:10 +02:00
logari81
7b2e15bedf FreeGCS: Variables naming and comments improvements 2012-05-05 08:32:32 +02:00
wmayer
b27a3a11cc Merge branch 'master' of ssh://free-cad.git.sourceforge.net/gitroot/free-cad/free-cad 2012-04-23 17:35:03 +02:00
wmayer
b1830e060b 0000676: Typographical error 2012-04-23 17:34:34 +02:00
wmayer
e871a10c9e 0000676: Typographical error 2012-04-21 12:30:31 +02:00
logari81
377e3eebce Sketcher: small fix in listing of conflicting constraints 2012-04-16 16:31:52 +02:00
logari81
126b25e690 Sketcher: basic graph based system partitioning 2012-04-14 12:10:32 +02:00
wmayer
b5505d00cf Fix inconsistencies if currently edited object is not in active document 2012-04-13 17:02:23 +02:00
wmayer
5c0cdea832 0000653: Menu shortcuts for the Sketcher item overlap with the Tools menu item 2012-04-11 12:24:51 +02:00
logari81
d98821858f Maintenance: homogenize variables naming 2012-04-01 16:59:38 +02:00
logari81
17ac6da079 Sketcher: support perpendicularity constraint for arcs and circles 2012-04-01 16:32:51 +02:00
wmayer
2e062ab797 0000652: Polish language not available even if translation is available in source 2012-03-25 13:38:32 +02:00
wmayer
723d6cde00 Fix build errors with Sketcher, Support of workbenches with delayed retrieval of class name 2012-03-22 19:59:50 +01:00
logari81
f0a6d25621 Fix 0000461: Sketcher: tangent constraint between two arcs/circles 2012-03-22 14:14:07 +01:00
wmayer
316ce23508 0000621: Typo - Constrain Horizontal Distance appears in place of Constrain Vertical Distance 2012-03-04 11:02:08 +01:00
wmayer
6a77635bdb Implement empty workbench to access from python 2012-02-26 17:56:18 +01:00
wmayer
7511f16541 0000611: Explanatory illustrations for Choose orientation dialog 2012-02-25 21:20:08 +01:00
wmayer
5f140253fa Support of INSTALL target on Windows (VC++ and MinGW) 2012-02-17 21:41:00 +01:00
wmayer
3c76fc176e Fix INSTALL target in cmake files 2012-02-16 21:22:42 +01:00
jriegel
2ecbd6b851 update idf import and small fixes
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5432 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-02-05 16:32:29 +00:00
wmayer
0b044ffd91 0000581: crash when editing duplicated sketch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5427 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-27 10:53:51 +00:00
wmayer
0496df6538 + check if re-mapping causes cyclic dependency
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5409 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-16 14:45:48 +00:00
logari81
d8109df4c7 + support deletion of external geometries
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5403 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-12 18:21:33 +00:00
logari81
919d17a50a + improve handling of external geometries and sketch axes in constraints
+ tidy up and avoid code duplication


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5380 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-02 21:25:03 +00:00
logari81
ba343de080 + add missing addExternal icon file
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5378 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-01 22:21:33 +00:00
logari81
292f7450eb + add GUI command for addExternal in the Sketcher
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5377 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-01 20:01:43 +00:00
logari81
41f6ead7ee + strip trailing spaces, untabify, fix typos
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5376 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-01 19:57:59 +00:00
mrlukeparry
20f8a50909 Remove un-necessary GL command that seemed to cause rendering artifacts.
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5372 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-31 20:01:24 +00:00
logari81
c6de527391 + fix issue with conflicting constraints in fixed arcs
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5361 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-29 20:12:57 +00:00
logari81
fe0767a4b4 0000554 : Sketcher: adding angle constraint on a single line crashes FreeCAD
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5358 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-29 16:25:40 +00:00
wmayer
b755192047 + disallow duplicates of external constraints
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5355 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-29 10:31:21 +00:00
wmayer
3e939999c4 + convert OCC exception to FreeCAD exception
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5354 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-29 10:06:28 +00:00
wmayer
0ab5a83903 + support of circle and arcs as external geometries
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5353 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-28 16:13:43 +00:00
wmayer
93665fa95a + restore external constraints after project load
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5352 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-28 13:19:26 +00:00
wmayer
a402ab5320 + raise exception in TopoShape::getSubShape() if shape is empty or wrong sub-type is given
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5349 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-27 14:39:29 +00:00
logari81
d83e488394 + improve support for external geometries in sketcher constraints
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5348 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 23:50:31 +00:00
logari81
6d35d55905 + fix minor bug in freeGCS
+ make handling of negative curve indices in ViewProviderSketch more consistent


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5347 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-24 22:17:39 +00: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
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
a987522a77 + support fixed geometries in the Sketch class
+ avoid code duplication 


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5302 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-14 21:29:24 +00:00
logari81
e2ce022839 + add axis link property to the PartDesign/Revolution feature
+ fix placement of the PartDesign/Revolution feature to the placement of its sketch/support


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5279 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 17:53:48 +00:00
logari81
d03d74f6ae + whitespace, typo fixes, tidying up
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5278 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-12 17:45:41 +00:00
wmayer
bde949f7e4 0000519: Patch to set proper RPATH's for system wide installation on Linux
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5270 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-11 12:36:36 +00:00
logari81
86e3e90853 + get possible axes information from Sketch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5261 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 21:17:50 +00:00
logari81
fad7696ad4 + avoid code repetition in positioning of Sketch
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5254 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-10 15:14:56 +00:00
logari81
70a7e06716 + replace -1 with Constraint::GeoUndef
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5214 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-03 19:29:58 +00:00
logari81
2a8a4775ef + make Levenberg-Marquardt solver maxStep aware
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5213 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-12-03 19:22:06 +00:00
yorikvanhavre
690e5090dc + updated finnish translations I had forgotten
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5187 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-26 14:40:06 +00:00
yorikvanhavre
c59c8f2755 + updated Sketcher translations
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5182 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-24 23:23:11 +00:00
logari81
3b4dde6799 + change warnings to log messages for 0.12 release
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5156 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-22 18:33:06 +00:00
logari81
4d7a9435c1 + use a trick to improve edge dragging of arcs and circles (until we find a more proper solution)
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5149 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 21:53:40 +00:00
logari81
aaea1b933c + try to make the SQP solver in the Sketcher more robust
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5148 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-17 19:58:45 +00:00
logari81
1c858b4b4b + fix minor bug in constraints list filters
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5141 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 21:57:51 +00:00
logari81
5c3dd091d9 + fix handling and display of negative signs in the Sketcher
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5140 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 19:34:12 +00:00
wmayer
73dd4ab9eb + respect Selectable property in SoFCUnifiedSelection node
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5136 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-15 10:04:21 +00:00
logari81
85b2fec8f6 + revert to previous values when setDatum fails
+ detect well known invalid values for setDatum
+ hide some negative distance datums in the gui


git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5133 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-11-14 18:45:59 +00:00