Commit Graph

22 Commits

Author SHA1 Message Date
Matt Ueckermann
495e6279f4 Part [DOC]: Adding documentation to Python API of BSplineCurve (intersect and buildFromPoles) 2021-04-29 23:06:55 -04:00
wmayer
7b970ab3b7 Part: [skip ci] get n-th derivative of a curve via Python 2020-05-17 23:25:07 +02:00
wmayer
ff0e556b59 Part: [skip ci] add methods to determine continuity 2020-05-17 21:57:25 +02:00
Zheng, Lei
6da72b9859 Part: changes to Part Module
* Added Part::Feature::getTopoShape/getShape() function that can obtain
  shape from any object with proper implementation of getSubObject(). It
  can even construct compound from group object with proper implementation
  of getSubObjects().

* Modified ViewProviderExt to work on any object, because it now obtain
  the shape using Part::Feature::getShape()

* Modified various Part features to obtain base/tool shapes using
  Part::getShape(), which allows them to be any type of object,
  including Link and groups.

* Modified various Part command to relax type requirement on selected
  objects.

* Add support of link and group to dimension, and add dimension refresh
  command

* Support link and group in simple command command, and add a few more
  copy command variations.

* Add special handling of 'Shape' attribute in PropertyContainerPy and
  use Part::Feature::getShape() to return shape for any object without
  Shape property. This allows many python feature work with any object
  without modification.

* GeometrySurface/CurvePy, add convenience attribute 'Rotation'

* TopoShapePy:

    * Extended support of sub shape attribute, e.g. Compound1, Solid2,
      SubShape3 ('SubShape' is used to access child shape of a compound)

    * makeWires(), new API to sort and return wires given a list of edges.

    * transformed/translated/rotated/scaled(), return a new shape with
      some transformation.

    * findPlane(), find the plane of a planar shape

    * isCoplanar(), check if two shape are coplanar
2019-08-17 15:08:35 +02:00
wmayer
b357d530ef set non-modifying functions of Python wrappers as const 2019-01-13 15:45:32 +01:00
wmayer
c6df59969b expose more methods of Geom_Curve to Python 2018-09-15 11:26:26 +02:00
wmayer
99e3f95fff + add method trim() to Part.Curve 2017-07-26 22:59:39 +02:00
wmayer
27fd215e1c add methods to convert a curve to a B-Spline or NURBS 2017-02-13 10:38:09 +01:00
wmayer
fa585583d8 set type names of geom classes 2016-12-03 13:26:12 +01:00
wmayer
9cbcb36280 expose methods to Python to get normal, curvature and center of curvature for curve 2016-10-28 21:19:27 +02:00
maito78
8fe7c94452 Add parameter at given distance method for curves 2016-07-29 22:40:19 +02:00
jrheinlaender
ae1890f56b Python functions to intersect curves and surfaces 2016-04-12 18:11:55 +02:00
wmayer
7eaa4fff74 + Support Quasi methods in discretize() 2014-08-14 19:11:51 +02:00
wmayer
9ed61f107b + support First and Last keywords in discretize 2014-08-14 11:16:54 +02:00
wmayer
3d2a2b06f0 + fix and improve discretize() method 2014-08-13 23:33:27 +02:00
wmayer
98cef33d61 + Approximate curve to B-Spline 2014-01-17 10:53:13 +01:00
wmayer
34d1e45f35 + Attribute to get continuity of curve 2013-10-24 18:11:24 +02:00
wmayer
d22772d5fd + Method to convert any curve into B-Spline 2013-10-24 17:30:38 +02:00
wmayer
f43f70f395 Implement GeometryCurvePy::length 2013-04-08 12:54:46 +02:00
wmayer
1aa7e55e92 + implement Python interface to discretize wires or edge with given deflection or number of points
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5423 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-24 15:23:58 +00:00
wmayer
1bb663c897 + add method to get intersection of two curves
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5414 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-17 15:08:47 +00:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00