SShortSingh.
Back to feed

Steel beams in three.js built from the same data as a supplier's weight calculator

0
·3 views

A website template for steel suppliers, called Ironline, uses the same section data for its weight calculator and its 3D beam renderings. Rolled sections such as IPE, HEA and UPN use standard table weights, while other profiles have their weight computed from geometry at 7.85 kg/dm³. Each cross-section is stored as plain outline data, which is extruded into a 3D shape in three.js with a small bevel for edge highlights. The same outline data also generates SVG path drawings of the cross-sections, so the 3D view and the dimensioned drawings match the calculator.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingHacker News ·

Show HN: Interactive voxel-style 3D map of Warsaw's city centre

A developer has released an interactive 3D map of central Warsaw rendered in voxels, a style loosely inspired by Minecraft and MagicaVoxel. Users can adjust the date, time of day, and weather, roam the city, or click on pedestrians to control them, a mechanic drawing partly on Dungeon Keeper. The project is built from open datasets including OpenStreetMap for streets and buildings, Geoportal LiDAR and aerial imagery for building heights, tree positions and colours, and Warsaw's municipal tree database for species-specific seasonal foliage. It works best on desktop, though mobile use is supported, and the initial load can be slow. The source code is open and available on GitHub for others to reuse.

0
ProgrammingHacker News ·

Grokipedia's Errors Offer Lessons for How AI Could Help Wikipedia

A Nieman Lab article examines Elon Musk's Grokipedia, an AI-generated encyclopedia that contains numerous mistakes. The piece argues that despite these flaws, Wikipedia could still learn useful lessons from the project. It frames Grokipedia as a case study in how artificial intelligence might be applied to encyclopedic content creation. The article was shared on Hacker News, where it drew modest attention with a handful of points and one comment.

0
ProgrammingHacker News ·

VHS Camera Tool Simulates Analog VHS Signal for Camera and Video Input

A developer has shared a project called VHS Camera on Hacker News, a tool that passes live camera feeds or video files through a simulated VHS signal. The project is presented as a Show HN post, inviting community feedback on the approach. The source material includes a link to the project page at fotojockovic.com along with a modest discussion thread. The post has received 6 points and 3 comments at the time it was captured. Beyond the project's description and these engagement figures, the available details are limited.

0
ProgrammingHacker News ·

PostHog Explains Why It Is Moving Its Data Warehouse Off DuckDB

PostHog has published a blog post announcing that it is migrating its data warehouse away from DuckDB. The post is shared on Hacker News, where it has drawn 21 points and 4 comments. The source material provided here contains only the link and engagement metrics, so the specific reasons and technical details behind the decision cannot be confirmed from this item alone. Readers interested in the rationale should consult the original PostHog article directly.