Skip to main content

cqparts Content Library : Miscellaneous

Components

Primative Shapes

Primative shapes to build or test ideas quickly

  • Cube

  • Box

  • Sphere

  • Cylinder

Indicators

These components can be used in assemblies during development as a means to debug your part placement, and to demonstrate Mate coordinate systems.

  • Coordinate System Indicator

  • Planar Indicator

https://fragmuffin.github.io/cqparts/media/img/misc/indicators.png

Examples

Use indicator on a primative

To illustrate how an inciator can be used to show where a Mate is on a Part, we’ll create a simple Assembly:

import cqparts
from cqparts.constraint import Fixed, Coincident

from cqparts_misc.basic.indicators import CoordSysIndicator
from cqparts_misc.basic.primatives import Box


class MyAsm(cqparts.Assembly):
    def make_components(self):
        return {
            'box': Box(length=30, width=20, height=10),
            'indicator': CoordSysIndicator(),
        }

    def make_constraints(self):
        return [
            Fixed(self.components['box'].mate_origin),  # fix at world origin
            Coincident(
                self.components['indicator'].mate_origin,
                self.components['box'].mate_neg_y,
            ),
        ]


from cqparts.display import display
display(MyAsm())
https://fragmuffin.github.io/cqparts/media/img/misc/example-coordsys-indicator.png

From this we can see that the mate_neg_y mate has:

  • its Z-axis along the world -Y-axis, and

  • its X-axis along the world Z-axis.

Metadata

Release files for cqparts-misc 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cqparts-misc 0.1.0
File Size Uploaded Provenance
cqparts_misc-0.1.0.tar.gz 16.4 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cqparts-misc 0.1.0
File Interpreter ABI Platform
cqparts_misc-0.1.0-py2-none-any.whl Python 2 none any Details

Total release size: 35.6 kB

Release files / cqparts_misc-0.1.0.tar.gz

Download URL cqparts_misc-0.1.0.tar.gz
Size 16.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7d0a5e2c039884ea7a814c10b71f124909a99bc226de1bf0128769f35188ec6c
BLAKE2b-256 checksum
How to use checksums
3df596d6f650f55f40d0db32c6cfeaafdc6bb0d612ebe6a0b5dc1a59fb16da81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / cqparts_misc-0.1.0-py2-none-any.whl

Download URL cqparts_misc-0.1.0-py2-none-any.whl
Size 19.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
61301d13cf72411823ccb1535856874eb216bbd967b0823494915d8c3673b8f1
BLAKE2b-256 checksum
How to use checksums
1b5cc9c1aa3f7db420c742491f746ef4b23e0b7854abbb6dcbb20deb721d2209
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cqparts-misc 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page