Skip to content

Releases: compas-dev/compas_occ

v1.2.1

11 Jul 11:21
Compare
Choose a tag to compare

Added

Changed

  • Changed brepgprop_VolumeProperties to brepgprop.VolumeProperties.
  • Pined pythonocc-core to < 7.8 to avoid qt conflict with Pyside6.

Removed

v1.2.0

06 Jul 11:44
Compare
Choose a tag to compare

Added

  • Added compas_occ.geometry.curves.OCCcurve.from_native.
  • Added compas_occ.geometry.curves.OCCNurbsCurve.from_native.
  • Added compas_occ.geometry.surfaces.nurbssurface_from_extrusion.
  • Added compas_occ.geometry.surfaces.nurbssurface_from_plane.
  • Added compas_occ.geometry.surfaces.OCCSurface.from_native.
  • Added compas_occ.geometry.surfaces.OCCNurbsSurface.from_native.
  • Added compas_occ.geometry.surfaces.OCCNurbsSurface.from_plane.

Changed

  • Changed plugin name to match pluggable name for compas_occ.geometry.curves.curve_from_native.
  • Changed plugin name to match pluggable name for compas_occ.geometry.curves.nurbscurve_from_native.
  • Changed plugin name to match pluggable name for compas_occ.geometry.curves.nurbscurve_from_interpolation.
  • Changed plugin name to match pluggable name for compas_occ.geometry.curves.nurbscurve_from_parameters.
  • Changed plugin name to match pluggable name for compas_occ.geometry.curves.nurbscurve_from_points.
  • Changed plugin name to match pluggable name for compas_occ.geometry.curves.nurbscurve_from_step.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.surface_from_native.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.nurbssurface_from_native.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.nurbssurface_from_interpolation.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.nurbssurface_from_fill.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.nurbssurface_from_parameters.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.nurbssurface_from_plane.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.nurbssurface_from_points.
  • Changed plugin name to match pluggable name for compas_occ.geometry.surfaces.nurbssurface_from_step.

Removed

  • Removed compas_occ.geometry.curves.new_curve.
  • Removed compas_occ.geometry.curves.new_nurbscurve.
  • Removed compas_occ.geometry.surfaces.new_surface.
  • Removed compas_occ.geometry.surfaces.new_nurbssurface.

v1.1.1

03 Jul 11:48
Compare
Choose a tag to compare

Added

Changed

  • Changed default precision of compas_occ.brep.Brep.simplify.
  • Fixed bug due to import of typing_extensions.

Removed

v1.1.0

13 May 20:41
Compare
Choose a tag to compare

Added

  • Added compas_occ.brep.Brep.from_plane.
  • Added compas_occ.brep.Brep.simplify.

Changed

  • Changed constructor plugin compas.geometry.curves.new_curve to use super(Curve, cls) (otherwise it doesn't work).
  • Changed constructor plugin compas.geometry.curves.new_nurbscurve to use super(NurbsCurve, cls) (otherwise it doesn't work).

Removed

v1.0.2

18 Mar 15:58
Compare
Choose a tag to compare

Added

  • Added compas_occ.brep.from_planes as plugin for compas.geometry.brep.from_planes.

Changed

  • Fixed bug in Brep.from_extrusion by adding cap_ends parameter and by raising an exception when it is used :)
  • Fixed bug in Brep.trim by removing the part of the brep that is in front of the trim plane.

Removed

v1.0.1

03 Feb 08:14
Compare
Choose a tag to compare

Added

  • Added compas_occ.geometry.curves.new_nurbscurve_from_native.
  • Added compas_occ.geometry.surfaces.new_nurbssurface_from_native.

Changed

  • Fixed bug in compas_occ.brep.OCCBrep.to_tesselation.

Removed

v1.0.0

01 Feb 20:26
Compare
Choose a tag to compare

Added

  • Added OCCBrep.trim and OCCBrep.trimmed.
  • Added OCCBrep.slice.
  • Added OCCBrep.split.
  • Added OCCBrep.fillet and OCCBrep.filleted.
  • Added OCCCurve.parameter_at_distance.
  • Added compas_occ.conversions.compas_frame_from_location.
  • Added OCCBrep.native_brep as alias for OCCBrep.occ_shape.
  • Added is_equal and is_same for OCCBrepVertex, OCCBrepEdge, OCCBrepLoop, OCCBrepFace.
  • Added correct type info to OCCBrepVertex.occ_vertex.
  • Added correct type info to OCCBrepEdge.occ_edge.
  • Added correct type info to OCCBrepLoop.occ_wire.
  • Added correct type info to OCCBrepFace.occ_face.
  • Added OCCBrepLoop.occ_shape.
  • Added OCCBrep.from_iges.
  • Added OCCBrep.to_stl.
  • Added OCCBrep.to_iges.
  • Added OCCBrepVertex.is_same and OCCBrepVertex.is_equal.
  • Added OCCBrepEdge.is_same and OCCBrepEdge.is_equal.
  • Added OCCBrepLoop.is_same and OCCBrepLoop.is_equal.
  • Added OCCBrepFace.is_same and OCCBrepFace.is_equal.

Changed

  • Changed OCCBrep to be a pluggin for compas.geometry.Brep.
  • Fixed the error when calling OCCBrep.frame.
  • Fixed AttributeError when calling OCCBrep.loops.
  • Updated compas-actions.build workflow to v3.
  • Updated github workflow to latest version.

Removed

Release v0.7.1

21 Mar 12:35
Compare
Choose a tag to compare

Added

Changed

Removed

Release v0.7.0

06 Nov 17:42
Compare
Choose a tag to compare

Added

  • Added compas_occ.geometry.OCCSurface.from_plane.
  • Added compas_occ.geometry.OCCSurface.intersections_with_curve.
  • Added compas_occ.brep.BRepFace.to_polygon.
  • Added compas_occ.brep.BRep.edge_faces.

Changed

  • Changed default units to MM in compas_occ.brep.BRep.

Removed

Release v0.6.0

07 Oct 17:05
Compare
Choose a tag to compare

Added

  • Added BRep.from_polygons.
  • Added BRep.from_extrusion.
  • Added BRep.from_sweep.
  • Added BRep.to_viewmesh.
  • Added BRep.overlap.
  • Added BRepFace.from_polygon.

Changed

  • Fixed bug in BRep.transform.
  • Changed BRep.vertices, BRep.edges, BRep.loops, BRep.faces, BRep.shells, BRep.solids to only be recreated once unerlying shape is changed.
  • Changed implementation of BRep.to_tessellation to use range loop over individual nodes of triangulation instead of node list accessor.

Removed