cadquery | A python parametric CAD scripting framework based on OCCT | 3D Printing library

 by   CadQuery Python Version: 2.4.0 License: Non-SPDX

kandi X-RAY | cadquery Summary

kandi X-RAY | cadquery Summary

cadquery is a Python library typically used in Modeling, 3D Printing applications. cadquery has no bugs, it has no vulnerabilities, it has build file available and it has medium support. However cadquery has a Non-SPDX License. You can install using 'pip install cadquery' or download it from GitHub, PyPI.

CadQuery is an intuitive, easy-to-use Python module for building parametric 3D CAD models. Using CadQuery, you can write short, simple scripts that produce high quality CAD models. It is easy to make many different objects using a single script that can be customized.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cadquery has a medium active ecosystem.
              It has 2240 star(s) with 221 fork(s). There are 59 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 298 open issues and 563 have been closed. On average issues are closed in 232 days. There are 16 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of cadquery is 2.4.0

            kandi-Quality Quality

              cadquery has 0 bugs and 0 code smells.

            kandi-Security Security

              cadquery has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              cadquery code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              cadquery has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              cadquery releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed cadquery and discovered the below as its top functions. This is intended to give you an instant insight into cadquery implemented functionality, and help decide if they suit your requirements.
            • Projection onto the plane
            • Return the vector at the given location vector
            • Project this vector onto a plane
            • The value of the object
            • Construct a spline
            • Convert object to local coordinates
            • Adds a pending edge to the context
            • Transforms the vector
            • Interpolate surfaces
            • Export a workplane to a file
            • Interpolate surface
            • Solves the Assembly
            • Split a solid
            • Construct a spline from a list of vectors
            • Solve the graph
            • Make a box around each point
            • Build the plot
            • Revolve the mesh
            • Extrude the extrude
            • Creates a basic geometry
            • Make a hole
            • Make a circular hole
            • Constructs a watertight polygon
            • Mirror the plane
            • Create a copy of the wire
            • Extracts a linear spine from outer wires
            Get all kandi verified functions for this library.

            cadquery Key Features

            No Key Features are available at this moment for cadquery.

            cadquery Examples and Code Snippets

            Package Structure,extensions sub-package,Workplane class extensions
            Pythondot img1Lines of Code : 50dot img1License : Permissive (Apache-2.0)
            copy iconCopy
            Workplane.textOnPath(
                txt: str,
                fontsize: float,
                distance: float,
                start: float = 0.0,
                cut: bool = True,
                combine: bool = False,
                clean: bool = True,
                font: str = "Arial",
                fontPath: Optional[str] = None,
                kind: Lite  
            Methods
            Pythondot img2Lines of Code : 44dot img2License : Permissive (Apache-2.0)
            copy iconCopy
            def assemble_chain_transmission(self,spkts:list[Union[cq.Solid, cq.Workplane]]) -> cq.Assembly:
                """
                Create the transmission assembly from sprockets for a chain
            
                Parameters
                ----------
                spkts : list of cq.Solid or cq:Workplane
                 
            Package Structure,fastener sub-package,Clearance, Tap and Threaded Holes
            Pythondot img3Lines of Code : 37dot img3License : Permissive (Apache-2.0)
            copy iconCopy
            import cadquery as cq
            from cq_warehouse.fastener import SocketHeadCapScrew
            
            height = 60.0
            width = 80.0
            thickness = 10.0
            diameter = 22.0
            padding = 12.0
            
            # make the screw
            screw = SocketHeadCapScrew(fastener_type="iso4762", size="M2-0.4", length=16, sim  

            Community Discussions

            QUESTION

            Conda fails to build, when inside docker container
            Asked 2021-May-25 at 22:50

            I am trying to build a docker image. This is the full dockerfile:

            ...

            ANSWER

            Answered 2021-May-25 at 22:50
            Conda is Too Old

            I replicated this error with the continuumio/miniconda2:4.5.11 Docker image:

            Source https://stackoverflow.com/questions/67695702

            QUESTION

            Cannot start jupyter notebook when i type the address in the browser
            Asked 2021-Feb-22 at 20:39

            I downloaded a docker image for cadquery and jupyter notebook.

            When i run the container, it gave me this message:

            ...

            ANSWER

            Answered 2021-Feb-22 at 20:39

            The address 58bb309866f3:8888 is an internal container address in that cannot be reached from the host

            You should connect using localhost and the port mapped in your docker run command. In this case you can connect using localhost:8888

            Source https://stackoverflow.com/questions/66322630

            QUESTION

            how to iteratively loft wires in cadquery?
            Asked 2020-Apr-19 at 09:16

            I can loft a 2D shape from one plane to another like this:

            ...

            ANSWER

            Answered 2020-Apr-19 at 09:16

            The point is to push back the last wire in the CQ stack, what a simple python assigment could not do:

            wp = wp2

            So I changed it to:

            wp = wp.transformed(offset=cq.Vector(0, -0.5, 1.0),rotate=cq.Vector(10, 0, 0)).rect(1,2).workplane()

            to make work the CQ kernel.

            Here is the working code:

            Source https://stackoverflow.com/questions/61186339

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install cadquery

            To quickly play around with CadQuery and see it's capabilities, see the CQ-editor GUI manual. If you want to use CadQuery for your own project, keep reading:.
            Using the CQ-editor GUI
            From a Jupyter notebook
            As a standalone library Linux installation video Windows installation video
            For those unfamiliar (or uncomfortable) with Anaconda, it is probably best to install Miniconda to a local directory and to avoid running conda init. After performing a local directory installation, Miniconda can be activated via the [scripts,bin]/activate scripts. This will help avoid polluting and breaking the local Python installation. In Linux, the local directory installation method looks something like this:.

            Support

            You can find the full CadQuery documentation at cadquery.readthedocs.io. We also have a Google Group to make it easy to get help from other CadQuery users. We want you to feel welcome and encourage you to join the group and introduce yourself. We would also love to hear what you are doing with CadQuery. There is a Discord channel as well. A big thanks goes to the Elmer team for hosting us.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • PyPI

            pip install cadquery

          • CLONE
          • HTTPS

            https://github.com/CadQuery/cadquery.git

          • CLI

            gh repo clone CadQuery/cadquery

          • sshUrl

            git@github.com:CadQuery/cadquery.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular 3D Printing Libraries

            OctoPrint

            by OctoPrint

            openscad

            by openscad

            PRNet

            by YadiraF

            PrusaSlicer

            by prusa3d

            openMVG

            by openMVG

            Try Top Libraries by CadQuery

            CQ-editor

            by CadQueryPython

            OCP

            by CadQueryC++

            pywrap

            by CadQueryC++

            cadquery-plugins

            by CadQueryPython

            cq-cli

            by CadQueryPython