Skip to content

Geometry preprocessor for generic meshing & SFIA sections#292

Merged
brookshsmith merged 9 commits intomasterfrom
geometry_preprocessor
Feb 10, 2026
Merged

Geometry preprocessor for generic meshing & SFIA sections#292
brookshsmith merged 9 commits intomasterfrom
geometry_preprocessor

Conversation

@brookshsmith
Copy link
Owner

Add native-written preprocessor code which does the following:

  • mesh_nodes() meshes ANY section, including dealing with rounded corners. It does assume that nodes are continuous (i.e. it does not handle arbitrary element connectivity). However, this should correctly handle any but built-up sections.
  • c_section(), z_section(), and f_section() create and mesh standard C, Z, or F (furring channel) shapes. These functions are entirely unit-agnostic.
  • sfia_section() creates a standard SFIA (Steel Framing Industry Association) section, in Imperial inches units. It requires only the designation as a string (e.g. "362S250-54"). Note that the function does not actually look up from a table; it instead generates the section using SFIA rules, so it will accept designations that are not manufactured as well!

All these functions are fully compatible with strip_new(), but will require conversion to old inputs to work with strip().

@github-actions
Copy link

Thank you so much for contributing to the open-source pyCUFSM project! Your contribution will help thousands of engineers work more efficiently and accurately.

Now that you've created your first pull request here, please don't go away; take a look at the bottom of this page for the automated checks that should already be running. If they pass, great! If not, please click on 'Details' and see if you can fix the problem they've identified. Keep in mind that this repository uses the black autoformatter, pylint linter, and mypy type-checking; the most common problems can be fixed by making sure you've installed and run those systems. A maintainer should be along shortly to review your pull request and help get it added to pyCUFSM!

@brookshsmith brookshsmith merged commit 65bce98 into master Feb 10, 2026
5 checks passed
@brookshsmith brookshsmith deleted the geometry_preprocessor branch February 10, 2026 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant