
Security News
New CNA Scorecard Tool Ranks CVE Data Quality Across the Ecosystem
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
This project is an opinionated helper tool that aims to provide a high level Python API for 2D/3D Constructive Solid Geometry modelling, which is a very convenient way of defining geometries using boolean operations. A typical script looks like this:
from csgmsh import mesh, shape, field
rect = shape.Rectangle()
circ = shape.Circle(center=[1,1], radius=.5)
mesh.write('demo.msh',
groups = {
'domain': rect - circ,
'top-right': rect.top | circ.boundary | rect.right,
'bottom-left': rect.left | rect.bottom,
},
elemsize = field.Threshold(
d=field.Distance(rect.bottom),
dmin=0, vmin=.01,
dmax=.5, vmax=.1),
)
Context: gmsh supports GSG modelling via its OpenCASCADE kernel. Unfortunately
it is set up in a way that makes it difficult to keep track of boundary
segments, which is crucial for computational applications. Csgmsh fixes this by
assuming that the (undocumented) order in which boundary entities are provided
is stable, and keeps track of how these boundaries are subdivided via the
BooleanFragments
operation.
This project is very much a work in progress and the API may change extensively pre-1.0, so be sure to pin it to a version if you find a use for it.
FAQs
Constructive Solid Geometry helper for Gmsh
We found that csgmsh 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 CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.