CqMore Save

More fundamental API on CadQuery.

Project README

cqMore 1.0

cqMore aims to add more fundamental API to CadQuery. It's based on CadQuery 2.1 and Python 3.9.

cqMore

Installation

Please use conda to install CadQuery and its dependencies (see Getting started of CadQuery). Then, use conda to install git if you don't have it:

conda install git

To install cqMore directly from GitHub, run the following pip command:

pip install git+https://github.com/JustinSDK/cqMore

Dependencies

This plugin has no dependencies other than the cadquery library. The examples list their own dependencies in the first comment, if any.

Usage

You may simply use cqmore.Workplane to replace cadquery.Workplane. For example:

from cqmore import Workplane

result = (Workplane()
            .rect(10, 10)
            .makePolygon(((-2, -2), (2, -2), (2, 2), (-2, 2)))
            .extrude(1)
         )

You may also attach methods of cqmore.Workplane to cadquery.Workplane, such as:

from cadquery import Workplane
import cqmore
cqmore.extend(Workplane)

result = (Workplane()
            .rect(10, 10)
            .makePolygon(((-2, -2), (2, -2), (2, 2), (-2, 2)))
            .extrude(1)
         )

API Reference

Open Source Agenda is not affiliated with "CqMore" Project. README Source: JustinSDK/cqMore
Stars
49
Open Issues
4
Last Commit
1 year ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating