wwmayer
01fd5ce6f3
Merge pull request #357 from mlampert/PathGeom
...
Path: Path->Wire transformation and other goemetry helpers.
2016-12-01 12:48:03 +01:00
wmayer
c6529d21fe
implement Line class
2016-12-01 00:04:13 +01:00
wmayer
1855c80f36
replace Part.Line with Part.LineSegment
2016-11-30 21:25:18 +01:00
wmayer
e96370f820
add class LineSegment
2016-11-30 16:26:21 +01:00
Yorik van Havre
43aae3db37
Arch: fixed makePipe to return the pipe
2016-11-29 11:41:10 -02:00
Markus Lampert
ad3e3166f5
Some cleanup.
2016-11-29 01:31:12 -08:00
Markus Lampert
0807eaf597
Added wire(s)ForPath functions with test.
2016-11-28 15:52:17 -08:00
Markus Lampert
fbc75d9797
Split out PathGeom and created test cases for it.
2016-11-28 15:11:24 -08:00
Markus Lampert
fcc187880e
Enhance makeHelix to also support helixes that spiral downwards.
2016-11-28 15:10:25 -08:00
Stefan Tröger
ddc9d9cf5d
Extensions: "hasExtension" for python types -fix 0002785
2016-11-28 22:15:09 +01:00
Stefan Tröger
8bf5f03671
PartDesign: Fix crash on pattern abort
2016-11-28 22:13:41 +01:00
Stefan Tröger
bb1ac8bfc6
PartDesign: Fix origin selection for pattern
2016-11-28 22:13:41 +01:00
wwmayer
1f6ed81624
Merge pull request #353 from berndhahnebach/bhbdev058
...
FEM: GMSH tool
2016-11-28 18:04:20 +01:00
Bernd Hahnebach
9154825889
FEM: gmsh mesh tool, add different mesh element size for Shape elements
2016-11-28 01:18:08 +01:00
Bernd Hahnebach
ddef153ef1
FEM: gmsh mesh tool, fix endless loop in task panel
2016-11-28 01:17:58 +01:00
Bernd Hahnebach
cb14a50aec
FEM: gmsh mesh tool, add some more properties to adjust gmsh mesh
2016-11-28 01:17:54 +01:00
Bernd Hahnebach
f9bc29fbc5
FEM: gmsh mesh tool, use gmsh names for properties
2016-11-28 01:17:50 +01:00
Bernd Hahnebach
299d3d1206
FEM: icons, rename some icons to better fit in FEM name scheme
2016-11-28 01:17:45 +01:00
Bernd Hahnebach
37db5ab428
FEM: solver Z88, fix in object attributes
2016-11-28 01:17:36 +01:00
wmayer
b503d55299
port hyperbola branch to new tools classes
2016-11-27 22:43:58 +01:00
Abdullah Tahiri
bc728c217b
Sketcher: Fixing compilation warnings
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
22457c41dd
Sketcher: Hyperbola construction endpoints autoconstraints
...
==========================================================
Support for coincident autoconstraint for endpoints
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
a879296ca7
Sketcher: Minor fix - hyperbolic arc icon reference
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
96d664dd88
Part::Geometry: ArcOfHyperbola CCW emulation support/fix
...
===================================================
Correction of the emulation so that arcs of hyperbola are always CCW. This fixes mismatching of end points and edge in Sketcher.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
8bba2427c3
Sketcher: Hyperbola added supported type
...
========================================
Allows to restore a saved hyperbola in a sketch.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
1c77657354
Sketch: Hyperbola tangency to line
...
==================================
As a way to lock a line to hyperbola tangency to a branch has not been identified, this tangency is implemented
by adding a point at the tangency point in order to avoid the jumping.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
73930c4294
Sketcher: Hyperbola perpendicularity constraint
...
=================================================
Line perpendicular to hyperbola using via point constraint.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
50ab33aeb4
Sketcher: Hyperbola Tangency to Curves
...
======================================
Implementation of the Tangency via point for all curves to Hyperbola (no line to Hyperbola yet).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
14a2437b72
Sketcher: Hyperbola element widget support
...
==========================================
Support added to the Element widgets for hyperbola
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
26bef1d2c8
Sketcher Hyperbola Icons
...
========================
Slightly modified icons based on Jim's original proposal (with the center instead of the focus point):
http://forum.freecadweb.org/viewtopic.php?f=10&t=8038&hilit=hyperbola#p66129
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
cdb14deb99
Sketcher Hyperbola: Creation method autoconstraints
...
Correction of center and curve on major axis position.
Still to fix the endpoints (determination of CCW or CW drawn curve)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
3a33fc292e
Sketcher hyperbola creation fix
...
removing line to origin during creation
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
96ae5272db
Sketcher Hyperbola: Creation Method improvements
...
- Avoid unnecessary recomputes
- Create as construction
- Continuous mode creation
2016-11-27 18:45:33 +01:00
DeepSOIC
95043e58ea
Sketcher: Hyperbola: fix minor diameter ends swapping
...
Quick and dirty, but seems to work.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
4e2d672e13
fix partials
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
6c612b270a
fix in minor axis Expose Internal Geometry for hyperbola
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
b6c1e15493
Hyperbola InternalAlignment
...
Focus is working.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
fb12cb83fc
Solver InternalAlignment: Change to diameters instead of radii to be able to draw asymptotes
...
GCS and Sketch.cpp support
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
4fce95a7da
Hyperbola: InternalAlignment solver constraints
2016-11-27 18:45:33 +01:00
DeepSOIC
df820bef59
Sketcher: solver: transplant all arc kinds to use CurveValue constraint
...
arc and arc of ellipse
2016-11-27 18:45:33 +01:00
DeepSOIC
2d0ad5ac11
Sketcher: solver: implement Value for all other curves
...
for line, circle, and ellipse.
Compiles, but untested.
2016-11-27 18:45:33 +01:00
DeepSOIC
9b71ebf48b
Sketcher: Hyperbola: fix - remove periodicity correction
...
Not needed, since hyperbola is not periodic, unlike circle and ellipse
2016-11-27 18:45:33 +01:00
DeepSOIC
180e01bcfc
Sketcher: Hyperbola: fix major radius formula
2016-11-27 18:45:33 +01:00
DeepSOIC
6fce841404
Sketcher: Hyperbola: fix crash when drawing a new one
2016-11-27 18:45:33 +01:00
DeepSOIC
c1da7d6125
Sketcher: solver: Value constraint
...
(morphed from hyperbola arc range constraint)
(compiles, but untested)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
3c6ac70577
Conflict resolution
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
4f6374eef6
Hyperbola UI equality constraint representation fixed
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
5556228d07
Hyperbola solver equality constraint
...
The Ellipse radii solver constraint was reused generalised to MajorAxisConic class.
UI representation of the Equality sign not yet handled (appears on the origin).
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
8de37eb193
Hyperbola: Support for moving the center of the hyperbola
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
0cf0f5cc6e
Hyperbola PointOnObject UI Constraint
...
You can add a point to be on the hyperbola and it will lock to it.
The endpoints of the hyperbola go crazy because of the
HyperbolicArcRangeToEndPoints code that is the one of Ellipse <= Awaiting DeepSOIC help ;)
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
27a76afa94
In Part:Geometry:
...
- Fixing Hyperbola classes to get CCW emulation (like Ellipse classes).
In Sketcher:
- The Sketcher representation deals with the right branch of the Hyperbola only.
- Solver model is: Center, Focus1 (focus of the right branch), minor radius (b).
- HyperbolicArcRangeToEndPoints code is the one of Ellipse <= Awaiting DeepSOIC help ;)
- ConstraintPointOnHyperbola solver constraint is now implemented and should be working.
- No InternalAligment constraints implemented yet.
2016-11-27 18:45:33 +01:00
Abdullah Tahiri
590e3fbec6
Sketcher: New Feature: Hyperbola/ArcOfHyperbola
...
===============================================
- ArcOfHyperbola creation method
- Solver representation (undefined moving)
- SketchObjectPyImp (here we still miss the Part->Partdesign conversion)
- Sketch validation for hyperbola
- Hyperbola creation method: shows the "proof of concept", but it is very buggy!!
Notes:
- Missing icons, probably missing geo normal curve implementation - rebasing -
- Fixes to adapt Hyperbola to Derivector implementation and make it compile
2016-11-27 18:45:33 +01:00
wmayer
fde9bded28
fix bottleneck in creation of sketcher grid
2016-11-27 14:36:08 +01:00
wmayer
4130f845e2
port TopoShape::exportStep to occ7.1
2016-11-27 11:01:15 +01:00
wmayer
d3e0f03650
add method to extract pcurve from an edge
2016-11-26 19:28:06 +01:00
wwmayer
9bc714fd50
Merge pull request #350 from berndhahnebach/bhbdev057
...
New tool to onvert surface of FEMMeshes to a Mesh
2016-11-26 15:48:52 +01:00
wmayer
1348fe6bc1
implement Line2d
2016-11-26 15:30:00 +01:00
wmayer
3105c4b1da
fix -Wunused-parameter
2016-11-26 14:11:30 +01:00
wmayer
cb1b906bd4
implement Line2dSegment, fix doc strings
2016-11-26 14:08:14 +01:00
wmayer
de8bfaafc3
implement OffsetCurve2d
2016-11-25 23:45:14 +01:00
Bernd Hahnebach
cba80757ea
FEM: FEMMesh2Mesh, add a icon
2016-11-25 22:59:39 +01:00
Bernd Hahnebach
3e4cf998d7
FEM: FEMMesh2Mesh, only make the tool active on selection of a femmesh or a femmesh and a result
2016-11-25 22:59:35 +01:00
Bernd Hahnebach
04287d7aa3
FEM: FEMMesh2Mesh, move menu to a submenu Utilities in FEM menu
2016-11-25 22:59:31 +01:00
Bernd Hahnebach
f86da74e1d
FEM: FEMMesh2Mesh, add a command to FreeCADGui
2016-11-25 22:59:27 +01:00
Bernd Hahnebach
52b5a776c7
FEM: FEMMesh2Mesh, some small changes to work together with FreeCADGui tool
2016-11-25 22:59:21 +01:00
Bernd Hahnebach
10273687bf
FEM: FEMMesh2Mesh, add the module to convert the surface of a FEMMesh into a Mesh
2016-11-25 22:59:18 +01:00
Bernd Hahnebach
9e142fd156
FEM: gmsh mesh tool, better handling of min and max element size
2016-11-25 22:59:14 +01:00
Bernd Hahnebach
e57febdf7b
FEM: icons, sort in qrc file by abc ...
2016-11-25 22:59:10 +01:00
Bernd Hahnebach
10431331f6
FEM: remove the not needed GuiUp check on GUI files
2016-11-25 22:59:03 +01:00
wmayer
c817c3334e
implement ArcOfParabola2d
2016-11-25 18:11:37 +01:00
wmayer
ffa942486a
implement Hyperbola2d and ArcOfHyperbola2d
2016-11-25 17:50:52 +01:00
wmayer
3067bd6a85
implement Ellipse2d and ArcOfEllipse2d
2016-11-25 17:20:58 +01:00
wmayer
3374737c5a
implement ArcOfConic2d and ArcOfCircle2d
2016-11-25 10:07:55 +01:00
wmayer
a0fc75d619
implement Circle2d
2016-11-24 23:45:05 +01:00
Yorik van Havre
d50e3b2a53
Merge branch 'master' of github.com:FreeCAD/FreeCAD
2016-11-24 18:36:55 -02:00
Yorik van Havre
6b8b3ec5cd
Arch: Fixed wrong placement of sketch-based windows
2016-11-24 18:36:24 -02:00
wmayer
94248e8da1
implement Conic2d and Parabola2d
2016-11-24 21:16:32 +01:00
Yorik van Havre
21dcfd442c
Doc: Further fixes to doxygen docs
2016-11-24 17:59:21 -02:00
WandererFan
bcb1534391
Add 2nd page of preferences
2016-11-24 14:44:37 -02:00
WandererFan
906bffba8f
Initial DrawingViewDetail
2016-11-24 14:44:37 -02:00
wmayer
cdf45248dc
fix build failure on Linux
2016-11-23 19:27:41 +01:00
wmayer
97346672ea
create gp_Trsf2d from gp_Trsf
2016-11-23 18:53:48 +01:00
wmayer
8bd22e4d99
implement methods of Geometry2dPy
2016-11-23 15:05:55 +01:00
wmayer
9c720dde7b
use cmake's OBJECTS library option
2016-11-23 15:04:58 +01:00
wwmayer
b8f8d61020
Merge pull request #348 from jobermayr/master
...
ArchSite can now also use Python3 Pysolar.
2016-11-23 13:53:38 +01:00
Johannes Obermayr
b1ae6f1eec
ArchSite can now also use Python3 Pysolar.
2016-11-22 21:50:04 +01:00
Bernd Hahnebach
4bbd896d4b
FEM: GMSH mesh tool, change icons for netgen and gmsh mesh to distingish them in toolbar
2016-11-22 19:50:51 +01:00
Bernd Hahnebach
b2827a21e8
FEM: GMSH mesh tool, add a pref page for gmsh binary path
2016-11-22 19:50:51 +01:00
Bernd Hahnebach
ae90dd0522
FEM: GMSH mesh tool, the GMSH tool class and a task panel
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
1327589045
FEM: GMSH mesh tool, add command and add it to tool bar and make a menu entry
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
c3df2e298d
FEM: GMSH mesh tool, new python mesh object
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
9f8a7b8642
FEM: extend the C++ fem mesh object to be able make python mesh object childs
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
1c0920d624
FEM: rename CommandMeshFromShape into _CommandMeshNetgenFromShape
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
30e54ec0e2
FEM: FemMeshTools, some changes need for the GMSH mesh tool
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
af9d1371b9
FEM: FemMeshTools, fix input file writing if groups have non expected group names
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8d786be579
FEM: code formating, make all python module start the same way
...
- module info
- doxygen documentation
- imports
- code
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
8fb66dcf98
FEM: code formating, cmake and init gui
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
494b508f56
FEM: ccx tools, check if the active analysis has result object before try to open results
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
10b9f686ca
FEM: read frd result file, check if nodes could have been read.
2016-11-22 19:50:50 +01:00
Bernd Hahnebach
9262303c0f
FEM: catch an error if Result dialog will be opened without an result in the analysis
2016-11-22 19:50:50 +01:00