Skip to content

HCAD v0.37.0 - sweep rebuilt, and bores export round

Pre-release
Pre-release

Choose a tag to compare

@Tibiaworx Tibiaworx released this 26 Sep 13:56
· 1 commit to main since this release

Sweep is the batch.

Sweep

  • Both ends now cap. The sections were built in f32, which quantises them onto a grid about 6e-7 wide -- and that fuzz is a section's thickness. truck refuses to cap a wire over 1e-6 thick, so the far end of a sweep came back open (96 boundary edges, exactly one rim). In f64 the same section is 7e-15 thick.
  • The start cap sits on the plane the profile was drawn on, cut obliquely where the path leaves at an angle -- like a pipe off a flange. It used to run past that plane (3.8 on badsweep2) and sit visibly cocked over.
  • Corners are mitred. The section was square to the bisector already but at its drawn size, so walls met at a neck; it is now stretched across the turn by 1/cos(half the turn). An L-path tube went from 496.0 to 502.1 against a true 502.65.
  • A path the tube cannot physically follow says so instead of tying a knot, judged on how far the profile reaches toward the inside of the bend.
  • Picking a sweep's two sketches draws both of them, profile and path, in the loft picker's colours.

Splines

  • Centripetal Catmull-Rom replaces uniform. Uniform overshoots when spans are unequal: three points 24.8 and 74.6 apart gave a curl of radius 5.5 at the start of an otherwise gentle curve, which a sweep could not follow. Now r=28.2. Every corpus part rebuilds byte-identical.

STEP export

  • Bores export as real cylinders -- 10 of 50 corpus parts, 20 cylinders. tubetest went from 388 planes / 676 KB to 4 planes + 3 cylinders / 29 KB; squarehelper 139 planes / 230 KB to 11 planes + 1 cylinder / 23 KB.
  • An extrude carries its sketch's arcs onto the mesh, and the tags survive the booleans.

Sketching

  • Other sketches stay visible (dimmed) while you draw, so a profile on one plane and a guide on another can be lined up.
  • A loft whose profile lost its region says so instead of silently skinning a different one.

Changes since v0.33.0 (the previous GitHub build)

Windows-only nightly builds landed on the dev server between GitHub releases; notes below, install boilerplate trimmed.

v0.36.0 — no more stray lines on filleted parts

Edge detection stops painting strays, and a flush no-op boolean returns the body untouched.

Phantom rings are gone. The edge detector trusted Manifold's vertex indices, but a flush boolean leaves duplicate vertices along its seam. Edges there never paired up, and every unpaired edge was drawn as an open boundary - a 202-segment ring around one flush extrusion, plus general stray noise on filleted parts. The detector now welds vertices before building adjacency, so flush seams pair, read as coplanar, and vanish.

Needle triangles no longer draw junk or block face merges - their normals are numerical noise, so they are flagged and skipped.

Fillet seams are now detected natively. The line where a fillet band lands on the face it blends into used to be merged away entirely (every body reported zero tangent edges). An edge whose dihedral breaks the rate the surface steps at across it is now emitted as a tangent seam.

A boolean that changes nothing returns the body. A boss snapped perfectly flush still ran through Manifold and baked doubled sheets along every flush wall - 121 fold pairs on one part, beyond any nudge's repair. A union whose volume does not move now leaves the body untouched.

A new scenario test pins both halves: a flush boss must paint no phantom ring, and the wall-side fillet seam must be natively detected.

v0.35.0 — fillets blend, thin slivers fall

Fillet quality release.

  • A fillet that meets an earlier fillet now blends onto it tangent — the ball rolls onto the neighbouring fillet's surface instead of leaving a cantilevered sliver or a truncation step.
  • Flush cuts and fills no longer leave hair-thin films: the boolean layer measures thin-film area, tries both signs of its tangency nudges, and refuses candidates that fold back on themselves.
  • Fillets saved in older documents survive walls that newer cut-clearance moved by a hair — face matching now ranks by how much of the edge a face borders, and picks must run along an edge to select it (no more seams drawn down the outer wall).
  • Partial-arc picks, tube rims (outer, bore, both), box rims with corners, concave boss bases and slot rims are all pinned by a new end-to-end scenario suite (manifold, exact volume, band on the ideal surface, working selectable edges).
  • Corner spheres tessellate to match their cylinders — no more spurious hairline edges at rounded box corners.

v0.34.0 — a flush join no longer seals a sheet inside the part

A part built by joining a foot flush under a plate, with the same bolt holes running through both, kept a sheet sealed inside it where the two met. Buried in material it was invisible; a later cut opened the space around it and it stood there as a thin wall in the middle of the cut that nothing would remove — because a cut removes material, and a sheet is not material.

The join is now checked. Every boolean judges its own result and repairs a join that leaves a sheet, instead of trusting the kernel's report of success. A part that only touches itself along a line is left alone: that is a real shape, not damage.

v0.33.3 — stray circles can no longer break a part

A single stray circle could quietly corrupt a part built from perfectly ordinary operations.

Sketching

  • The circle tool no longer creates a circle from a click that never moved. A press and release in one spot, or a double-click on the centre, used to leave a ⌀0.02 circle behind — invisible on screen, and impossible to notice. What counts as a real gesture scales with the zoom, so genuinely small circles are still drawable by zooming in.
  • A circle too small to build with is skipped when a profile is made, instead of producing a broken body.
  • Opening a part reports any such circle, with its diameter, so one already in a file can be found and deleted.

Why it mattered
Read as a hole, a stray ⌀0.02 circle is a shaft thinner than the tolerances the modelling kernel works at. The extrude came out broken before any later feature ran, and every cut after it inherited the damage — one part went to 62,517 triangles and a corrupt body where the same shape is 1,244 and sound. The cuts were never at fault.

Windows installer attached. Requires the VC++ Redistributable, which the installer bundles.

v0.33.2 — slot dimensioning

A slot can now be dimensioned every way a drawing asks for it. A slot is a single entity, which left very little to put a dimension on — its length had no geometry at all, and its thickness could only be given as a width across.

Slots

  • Straight and Centerpoint slots carry a construction centre line joining the two arc centres. Dimension it to set the slot's length. It guides only, so the extrude still sees just the slot outline. Arc slots get none — a straight line between their ends measures a chord, not a length.
  • Thickness three ways, whichever the drawing uses: click a round end for its radius, click a side for the width across, or pick both sides for a line-to-line distance. All three drive the same size.
  • Picking a slot's two sides previously threw away the dimension the first pick had made. Fixed.
  • A Centerpoint slot keeps the centre you click, as a real point held between the two ends — something to snap to, dimension from, and position the slot by. It stays the middle when the slot is lengthened.
  • Slot ends continue to lock onto body features and existing points.

Windows installer attached. Requires the VC++ Redistributable, which the installer bundles.

v0.33.1 — sliver and sketch-input fixes

Fixes for three things that showed up in normal use since 0.33.0.

Sketching

  • A dimension's value no longer swallows clicks meant for the sketch. Editing an existing sketch, the Dimension tool could appear to loop — every click placing another dimension — a box select could stick on screen with no way to clear it, and a circle under about half a millimetre could not be picked at all because its own dimension took the click. A label floats above the sketch, and anything under the pointer there was skipping the sketch's input handling entirely.
  • A dimension on a very small circle is placed clear of it, instead of on top of the geometry it measures.

Cuts and fillets

  • A cut whose wall lands exactly on the body's — a circle snapped to an existing cylinder's radius — no longer leaves slivers along that wall.
  • A fillet whose rim runs out into a cut no longer leaves a zero-thickness wall standing where the two meet.
  • Filleting part of a curved rim is faster in the cases that previously fell back to a slow path.

Windows installer attached. Requires the VC++ Redistributable, which the installer bundles.


Install

Windows: download hcad-v0.37.0-windows-x86_64.exe and run it.

Linux (AppImage): download hcad-v0.37.0-linux-x86_64.AppImage, then:

chmod +x hcad-v0.37.0-linux-x86_64.AppImage
./hcad-v0.37.0-linux-x86_64.AppImage

Self-contained — no install needed. Requires a working Vulkan driver and xdg-desktop-portal (standard on modern desktops). Built for x86_64, glibc 2.39+ (Ubuntu 24.04+ / Fedora 40+).