Bruno Agostini

Results 19 comments of Bruno Agostini

Here is the top view. They are not self intersecting, they are just twisted by about 90° from one end to the other. I was just wondering if `extrude()` can...

There is a quite long code that generates this Gyroid solid below, called `finS`. Then I use the following code to select the bottom faces, extract the wires (outlined in...

This also crashes ```python base_wires = finS.faces('

I extracted the first wire and it looks closed: ```python from OCP.BRep import BRep_Tool test = finS.faces('

I think I found a workaround with `loft()` ```python bot_wires = finS.faces('

@adam-urbanczyk Here it is [core.zip](https://github.com/CadQuery/cadquery/files/8034886/core.zip) I will try the solution using filling. Since I want to transition from the twisted wire to a planar rectangle, maybe loft is the better...

@adam-urbanczyk I tried the following to fill the wire before extruding, but I receive a `OCP.Standard.Standard_TypeMismatch: TopoDS::Edge` error. ```python support = finS.faces('>>Z[0]').wires().first() support = cq.Workplane('XY').interpPlate(support).extrude(-2) ``` However the following method...

@adam-urbanczyk I managed to perform an extrusion following your advice, but the union is bad as can be seen in the image ![extrusion_NOK](https://user-images.githubusercontent.com/26216511/153767212-6143553f-8212-4cdb-8ff1-bf7356d15898.png) The method using `loft` yields a good...

The following might be a solution, at least it worked for me. In `shapes.py`, I modified the `assembleEdges()` method by replacing: ```python for e in listOfEdges: wire_builder.Add(e.wrapped) ``` with ```python...

Some time ago I had written an implementation of `fragment` by adding a `Workplane` method `fragment` in `cq.py`: ```python def fragment( self, toFragment: Optional[Union["Workplane", Solid, Compound]] = None, clean: bool...