
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
>>> it's time to throw parametric softwares out !
Simple yet powerful CAD (Computer Aided Design) library, written with Python.
Checkout some complete examples
from madcad import *
# define points
O = vec3(0)
A = vec3(2,0,0)
B = vec3(1,2,0)
C = vec3(0,2,0)
# create a list of primitives
line = [
Segment(O, A),
ArcThrough(A, B, C),
Segment(C,O),
]
# create and solve constraints
solve([
Tangent(line[0], line[1], A),
Tangent(line[1], line[2], C),
Radius(line[1], 1.5),
], fixed=[O])
# generate surfaces
part = extrusion(line, vec3(0,0,1))
# display in a 3D scene
show([part])
The result will be this window
MADCAD is born from the idea that the current approach of parametric CADs for mechanical engineering is not the best possible. This library is part of a project targeting the best possible mechanical design tool for both engineers and handymen. See the comparison for more details.
Copyright 2019-2023 Yves Dejonghe jimy.byerley@gmail.com
This library is distributed under the LGPL-v3 license. A copy of that license is provided with this software.
FAQs
Simple yet powerful CAD (Computer Aided Design) library, written with Python
We found that pymadcad demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.