Help with LISP routine to generate rebar mesh in longitudinal section
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I'm developing a LISP routine to represent rebar meshes in longitudinal section views for structures such as open channels, slabs, concrete boxes, etc.
Currently, when selecting a polyline that represents the steel path in section view (e.g., the bottom and walls of a channel), the routine generates a single series of circles (bars) along that polyline. The issue is that this does not correctly represent a longitudinal rebar mesh, since the bars should be placed perpendicular to the longitudinal axis, following the shape of the section (i.e., they should appear as multiple parallel copies of the polyline, with bars shown in cross-section).
What I'm aiming for is:
A routine that correctly generates the longitudinal rebar mesh in section view.
An option to define one or two layers of rebar (single or double mesh), depending on user input.
Applicability to different types of linear structures (channels, slabs, concrete boxes, etc.).
I’m attaching the current LISP code, a reference image, and a DWG file for clarity.
I’d appreciate any guidance or examples you can share.
Thanks in advance.
In Figure 01 we observe a concrete structure (collector box) with a plan view and longitudinal profile.
En la Figura 2, en la parte inferior derecha, vemos la distribución de la malla de acero (círculos) centrada en la polilínea. Necesito que esta vista se vea como en la Figura 1 (lado derecho - vista de sección longitudinal). Estas barras también deben estar sombreadas. Si hubiera una manera de generar la malla de acero a lo largo de toda la sección, sería fantástico.
I was also wondering if a LISP routine could draw a collector box with a plan view, longitudinal and cross-sectional profile, and also distribute the steel mesh in all the views mentioned?