cq_warehouse 0.5.0 - Projection and Emboss

210 views
Skip to first unread message

Roger Maitland

unread,
Jan 22, 2022, 1:32:54 PM1/22/22
to CadQuery
I just released v0.5.0 of cq_warehouse.extensions which a collection of enhancement to cadquery.  Here is a list of the methods:
    cq.Assembly.translate()
    cq.Assembly.rotate()
    cq.Plane.toLocalCoords()
    cq.Vector.rotateX()
    cq.Vector.rotateY()
    cq.Vector.rotateZ()
    cq.Vector.pointToVector()
    cq.Vector.toVertex()
    cq.Vector.getSignedAngle()
    cq.Vertex.add()
    cq.Vertex.sub()
    cq.Vertex.str()
    cq.Vertex.toVector()
    cq.Workplane.text()
    cq.Workplane.textOnPath()
    cq.Workplane.hexArray()
    cq.Workplane.thicken()
    cq.Face.thicken()
    cq.Face.projectToShape()
    cq.Face.embossToShape()
    cq.Wire.makeNonPlanarFace()
    cq.Wire.projectToShape()
    cq.Wire.embossToShape()
    cq.Edge.projectToShape()
    cq.Edge.embossToShape()
    cq.Shape.findIntersection()
    cq.Shape.projectText()
    cq.Shape.embossText()
With these methods you'll be able to project and emboss edges/wires/faces onto shapes enabling a whole new set of capabilities with cadquery - like this:
cq_warehouse0.5.0.png
As always, if you find a bug, inconsistency or just have a suggestion for improvement please let me know here or raise a github issue.

Cheers,
Roger

Roger Maitland

unread,
Feb 8, 2022, 1:45:25 PM2/8/22
to CadQuery
I've released version 0.5.2 of https://github.com/gumyr/cq_warehouse. This release has two changes:
1- documentation now at https://cq-warehouse.readthedocs.io/en/latest/index.html
2- a patch building tool that allows the user to patch cadquery and see all of the cq_warehouse extensions in their IDE like this:
cq_extensions_intellisense.png
As always, let me know if you discover any bugs.

Cheers,
Roger
P.S. There was a v0.5.1 release that had Plastic Bottle threads in it.

Jeremy Wright

unread,
Feb 8, 2022, 1:50:12 PM2/8/22
to CadQuery
Great, thanks for sharing!

FYI - cq_warehouse is listed as a third-party plugin on the cadquery-plugins repo. Please comment or open a PR there if any of the information is outdated or in error. https://github.com/CadQuery/cadquery-plugins/blob/main/third_party.md#plugin-listing

Rajesh Kumar

unread,
Feb 21, 2022, 6:29:46 PM2/21/22
to CadQuery
Thanks for sharing this. I see most of the APIs to project the shape and text. Is there any API or any way to create imprints of this projected face/text on the target body. The target body should get modified.

Thanks,
Rajesh

Reply all
Reply to author
Forward
0 new messages