Commit Graph

291 Commits

Author SHA1 Message Date
Zheng, Lei
7675310258 Fix readme wiki links 2018-02-01 15:33:47 +08:00
Zheng, Lei
3b7a98d64a Merge branch 'dev' 2018-02-01 12:02:34 +08:00
Zheng, Lei
96cc841033 Move contents of readme to wiki 2018-02-01 10:14:25 +08:00
Zheng, Lei
d4992a4706 mover: support tracing any geometry element 2018-01-29 17:16:21 +08:00
Zheng, Lei
6917d3897e constraint: impove sketch plane handling
Sketch plane is now implicitly added to any constraints that accepts an
optional workplane, i.e. those supports 2D constraint
2018-01-29 17:16:21 +08:00
Zheng, Lei
1e2cfc6447 constraint: improve draft circle handling 2018-01-29 17:16:21 +08:00
Zheng, Lei
ac483c686b utils: refine draft wire identification 2018-01-29 17:16:21 +08:00
Zheng, Lei
a2d639200f constraint: init constraint parameter
Add init() api to calculate the some of the constraints' parameter
(e.g. angle, distance, length, etc.) based on the existing elements.
This can reduce excessive movement when auto recompute is on.
2018-01-29 17:16:15 +08:00
Zheng, Lei
708668ed0b assembly: add missing transaction on auto recompute 2018-01-29 17:05:18 +08:00
Zheng, Lei
d2b3d8260d assembly: fix cases where property status is saved 2018-01-29 17:02:18 +08:00
Zheng, Lei
ac5194a013 constraint: auto label constraint object with type name 2018-01-28 06:14:17 +08:00
Zheng, Lei
a9b302c0ac assembly: no doc touch when auto changing element visibility 2018-01-27 18:01:55 +08:00
Zheng, Lei
a0339c1e5b gui: mute auto element vis exception when closing document 2018-01-27 18:01:27 +08:00
Zheng, Lei
a8f11a4a50 Add "Auto element visibility" command
When enabled, it will hide all AsmElement, and AsmElementLink, and only
shown then when they are selected, or a AsmConstraint object is
selected in the tree view
2018-01-27 12:15:05 +08:00
Zheng, Lei
363a8cfeba Fix constraint toolbar active checking 2018-01-24 18:08:20 +08:00
Zheng, Lei
21e8c4dd84 Support sketch plane in various horizontal/vertical constraint 2018-01-24 13:50:22 +08:00
Zheng, Lei
cc412bdc22 Add SketchPlane constraint for easy 2D sketch
The SketchPlane expects the first element to be a planar face/edge to
define a work plane for any following draft wire/circle/arc elements.
The 2D constrainted elements can either be inside the defining
SketchPlane constraint, or other constrains following the SketchPlane
in the constraint group.

Add a new SketchPlane to define a new work plane for any following
draft elements. Add an empty SketchPlane to undefine the work plane,
effectively making any following draft elements free in 3D space.
2018-01-23 17:32:20 +08:00
Zheng, Lei
c56a9d85d7 Add mover support for draft wire and circle
* Draft wire points can be dragged individually.
* Draft wire individual edge can be moved and rotated.
* Draft circle/arc can be moved and rotated by dragging edge or face.
* Draft circle/arc radius can be changed by dragging vertex
* Draft arc first/last angle can be changed by dragging end points
2018-01-21 10:07:38 +08:00
Zheng, Lei
b087200e50 Add support for draft circle/arc
When added to an assembly, a normal part object has six degrees of
freedom, three positional and three rotational. A draft circle has one
additional dof, its radius. And a draft arc has three additional dof,
radius, first angle and last angle.
2018-01-20 16:36:51 +08:00
Zheng, Lei
05595e3f41 Add support for draft wire
Special treatment for non-closed-or-subdivided draft wire object
directly added into part group.  Instead of constraining on the object
placement, we shall constraint on individual points. In other word,
instead of making the draft wire's placement as free parameters, we
make the cooridnates of indvidual points as free parameters.
2018-01-20 16:36:38 +08:00
Zheng, Lei
cd9a60c29d Updated slvs submodule 2018-01-19 14:10:34 +08:00
Zheng, Lei
06403848e2 constraint: added more icons 2018-01-19 14:01:10 +08:00
Zheng, Lei
2ae770b4f1 Update slvs submodule 2018-01-14 08:15:50 +08:00
Zheng, Lei
9d85f2bb61 Update Readme 2018-01-12 11:43:20 +08:00
Zheng, Lei
12f1670925 assembly: fix trace command 2018-01-08 15:31:19 +08:00
Zheng, Lei
92b42d2f71 assembly: improve autoSolve function 2018-01-08 11:53:41 +08:00
Zheng, Lei
3a252d48df Update readme 2018-01-08 11:53:35 +08:00
Zheng, Lei
76f3ed40d1 solver: fix sympy solver 2018-01-08 11:53:30 +08:00
Zheng, Lei
fb9ad1609d gui: fix assembly solve command
Fix selection detection, and undo/redo setup
2018-01-07 19:05:29 +08:00
Zheng, Lei
882faf9d53 assembly: improve auto recompute 2018-01-03 12:01:44 +08:00
Zheng, Lei
d2f88b969d assembly: change fixed part move behavior 2017-12-25 13:00:05 +08:00
Zheng, Lei
9dfc07a7a0 assembly: allow moving part by element 2017-12-25 12:59:46 +08:00
Zheng, Lei
eb6519ff8c Refactor undo/redo with FreeCAD.setActiveTransaction() 2017-12-24 18:43:34 +08:00
Zheng, Lei
089f3e1c20 Add script to build AppImage 2017-12-20 17:47:20 +08:00
Zheng, Lei
0ea8c1c13e Change git submodule scheme to https 2017-12-19 08:49:39 +08:00
Zheng, Lei
8f21c72f4c constraint: fix circle/arc related constraints 2017-12-15 08:14:02 +08:00
Zheng, Lei
0f85f9a2bc Fix readme typo 2017-12-15 08:13:48 +08:00
Zheng, Lei
0ec9932693 Add slvs python pre-built for win64 2017-12-13 03:59:16 +08:00
Zheng, Lei
a812c4f352 assembly: add CTRL key to bypass auto-solve 2017-12-11 10:31:32 +08:00
Zheng, Lei
d76902b215 Add support of origin and datum feature 2017-12-10 18:49:06 +08:00
Zheng, Lei
4ad32a084f assembly: change OnTopWhenSelected behavior
Now only whole object (AsmElement, AsmElementLink) selection activates
OnTopWhenSelected.
2017-12-10 18:48:14 +08:00
Zheng, Lei
c2662d8cfd constraint: add LockAngle option
LockAngle option is available to the following constraints,

* PlaneCoincident
* PlaneAlignment
* AxialAlignment
* MultiParallel
2017-12-09 13:27:38 +08:00
Zheng, Lei
9e98a55b07 gui: fix tree item move command 2017-12-09 13:26:00 +08:00
Zheng, Lei
f72e048295 sys_sympy: fix angle constraint 2017-12-09 13:25:36 +08:00
Zheng, Lei
584c53d619 Updated installation instruction in readme
Also reformat readme to be more git friendly
2017-12-07 11:00:04 +08:00
Zheng, Lei
176817a635 Migrate to new style FC module 2017-12-07 03:14:13 +08:00
Zheng, Lei
d6510681f8 Add Readme 2017-12-05 14:44:58 +08:00
Zheng, Lei
7c2ebac386 assembly: auto recompute on undo/redo while dragging 2017-12-04 21:02:40 +08:00
Zheng, Lei
eb06ef8fbd solver: solver rollback on failure while dragging 2017-12-04 20:25:35 +08:00
Zheng, Lei
5ac1dd7971 assembly: material override in ElementLink
Original override point is ViewProviderAsmConstraint, which will
override any material setting in ViewProviderAsmElementLink. It's
better to default override at the bottom hierarchy.
2017-12-04 16:12:53 +08:00