Commit Graph

8048 Commits

Author SHA1 Message Date
Abdullah Tahiri
96fcedbd30 Sketcher: Carbon Copy - Allow cross-body sketcher links
=======================================================

The instructions are shown on the status bar.

press CTRL to allow cross-body link

press ALT to by-pass directional requirements

press CTRL+ALT to allow a cross-body link and by-pass directional requirements
2017-04-10 18:55:23 +02:00
Abdullah Tahiri
8323917423 Sketcher: Carbon Copy - Correct inverted logic (worked but it is not clear) 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
7818f1f08b Sketcher: Carbon Copy enable checks when not in a body 2017-04-10 18:55:23 +02:00
wmayer
7463aa7efd fixes #0002994: Validate Sketch's missing coincidence tool finds false positives 2017-04-10 17:17:40 +02:00
Abdullah Tahiri
71a555a6bb Sketcher: using copy in addGeometry instead of clone to avoid that python users inadvertendly generate two geometries with the same Geometry tag 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
4fe698e1ee Sketcher: Carbon Copy
=====================

Carbon copy checks for parallel planes, translated origin and rotated axes, so that it can provide flipping detection when using reverse mappings.

This commit enables you to press CTRL will activating the tool in order to bypass this checks. Without the checks you will get a sketch exactly as the one
you want to copy, there are no corrections at all. This enables you to copy a profile on a new plane at a different direction for example for lofting purposes.
2017-04-10 08:57:25 +02:00
Abdullah Tahiri
f6126ba9c0 Part: hiding tag handling functions as protected until a need for them is clear 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
7e37d469da Part: Modify python copy to use c++ copy() instead of clone() 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
e54b6a12c1 Sketcher: Fix sketchobject copy/clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
c3c670e162 Part: Geometry refactoring copy/clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
3f17292a05 Sketcher: Updated resource file 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
e84a6fa54d Sketcher: Bspline knot multiplicity icons 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
2a58ac0cf8 Sketcher: New function to reuse of python exception message text in the UI 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
7685823ecd Part: Geometry assignTag function 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
6a67a7dbb7 Sketcher: Carbon Copy - inform user of the limitations and disallow selection 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
68445dea1f Sketcher: Carbon Copy - refactoring of code 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
0d70996ec4 Sketcher: Carbon Copy aware of sketch orientation and location 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
30ffd1db0c Sketcher: Carbon copy using copy instead of clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
9382de15a9 Part: Geometry creation of copy method to distinguish from clone 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
e9764d89e4 Sketcher: CarbonCopy link values via expression engine 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
88b75cd53a Sketcher: SketchObject basic carbon copy functionality - without expressions engine 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
97090f3e0a Sketcher: Carbon Copy toolbar command 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
cf339a4d01 Sketcher: Updating resource file 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
15e88ba1c7 Sketcher: Carbon copy icons 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
b9ffb09a22 Sketcher: Carbon copy Python command 2017-04-10 08:57:25 +02:00
triplus
73212a2d13 Reusable Draft Snap toolbar commands
- Reusable Draft Snap toolbar commands
- Use default size for toolbar/toolbuttons
2017-04-09 19:01:06 -03:00
asiersarasua
ba3274cf1a Fix typos 2017-04-09 18:29:11 +02:00
Ian Rees
9ac1994a8f Improve Python docstrings in Part and MeshPart 2017-04-09 12:00:24 +12:00
Yorik van Havre
4fbfd8dbfe Draft: Added InPlace property to shape2Dviews 2017-04-08 16:09:24 -03:00
wmayer
ce68a5b9dd expose Geometry::getTag to Python 2017-04-08 16:56:59 +02:00
wmayer
3abc019af0 fix -Wsign-compare 2017-04-08 13:57:29 +02:00
wmayer
497728a6d2 add method to create new tag id 2017-04-08 13:31:28 +02:00
wmayer
16e09ea01c fix warning of unused variable 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
418beea589 Sketcher: Only Reference constraints allowable on construction points like bspline knots 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
a0917493bd Sketcher: Increase/Decrease knot multiplicity toolbar commands adapted to provide more meaningful error messages 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
7e9571ae87 Sketcher: SketchObject Modifyknotmultplicity adapted to raise exceptions on errors 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
4786473523 Sketcher: Adapt increase multiplicity toolbar command to use unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
99d64ff33f Part: Geometry - implement missing setHandle functions and refactoring 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
391eaff6cf Sketcher: Decrease multiplicity command adaptation to unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
2a4d5a422d Sketcher: Adapt modify knot multiplicity code to preserve the unique identifier 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
9580440d31 Part: Add unique identifier to Geometry 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
a61e032f81 Sketcher: Clear knot selection after multiplicity operation 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
99da93192b Sketcher: OCC checks for knot functionality 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
7601cdcffa Sketcher: Dropdown toolbar button for increase/decrease BSpline knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
8ca728a12f Sketcher: BSpline Decrease knot multiplity toolbar command 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
7b60a97465 Sketcher: SketchObject BSpline reduce knot multiplicity 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
e9798b06b1 Sketcher: Increase knot multiplicity auto-reconstruction of pole circles for UI user 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
a17ac10b0b Sketcher: Expose Internal Geometry for BSplines
===============================================

New convenience for the user. If the first pole is radius length constraint, then any newly exposed internal geometry is created with equality constraint to the first pole.

This is really convenient in the case the user is working with polynomic bsplines, as any operation involving losing/gaining a pole (for example increase in multiplicity of a knot).
2017-04-08 12:58:06 +02:00
Abdullah Tahiri
d96c8421d4 Sketcher: Assertion on solver bspline control point creation to expose any potential index miscalculation and memory overflow 2017-04-08 12:58:06 +02:00
Abdullah Tahiri
debff30d92 Sketcher: Increase multiplicity command - no creation of unsolicited internal geometry 2017-04-08 12:58:06 +02:00