Skip to content

RazorCAD 0.17.2-beta

Pre-release
Pre-release

Choose a tag to compare

@Labs9119 Labs9119 released this 24 Oct 22:35

RazorCAD 0.17.2-beta

What is new since v0.17.1-beta:

Edge-Flange corner gap 0.5 mm by default

  • A new Edge Flange's corner gap is 0.5 mm (was 0.1), as on the formed lid the square corner was matched to. Parts already made keep their gap; Closed Corner's own gap is unchanged (0.1).
  • Test: flange-corner-default (the default gap; the wall's end at the other's inside face less 0.5 / √2).

Square corners exactly as formed; whole faces at closed corners

  • A square (corner to corner) corner's bends now end in plain straight V cuts from the corner point, with no relief and no small round at the corner point: the bend region no longer looks wavy. Checked against the real lid: the same solid (no material in one that is not in the other; volumes equal to 4 parts in 100 million) with the same 38 faces.
  • The flange's end face is no longer split near the corner: a closed corner's run-on of a wall came out a ten-millionth of a mm off the wall's edge (the wall's height was found by a point test), which left the end face in three pieces on some sheets (3 mm, for one). It now sits exactly on the edge.
  • No zero-size sliver faces at a square corner (at the panel's corner and under the walls' ends): its V cut passes exactly through the bend line and the wall's end. (Overlap corners keep their V cutout as it was: its relief meets the small round at the corner point tangentially, and made exact the bends would no longer join quickly.)
  • Tests: flange-corner-default (38 whole faces, 1.5 and 3 thick), convert-sheet-variants (precise volumes for the exact cases).

Edge-Flange corners: square ends by default

  • Flanges picked together in an Edge Flange now meet corner to corner with square ends by default: each wall runs on up to the other wall's inside face and ends square, the walls' inside edges the gap apart (measured across the corner), and the small square at the outside of the corner is left open. The bends run on into the corner and end in a V cutout with a small relief between them, as they form from the flat. This is how a real formed lid's corners are made; the mitred corner of 0.17.1 is still there as Mitred (meet on the diagonal).
  • Closed Corner has the same corner as Butt (square ends); the mitred one is now called Mitre.
  • Parts saved with a mitred corner keep it. Convert to Sheet Metal knows RazorCAD's own square corners and makes them again exactly.
  • Checked against a real lid folded in another CAD program (3 mm, inside radius 3, walls 43, gap 0.5): the wall ends are where that lid has them, and the volume is within 2 parts in 100 000 (the bend relief's shape differs).
  • Tests: flange-corner-default (the default square; a wall's end square at the other's inside face less the gap's share), convert-sheet-variants (square corners converted exactly).

The up axis from the Origin in the feature tree

  • Right-click Origin in the feature tree to choose Y up or Z up; the Origin shows the current one beside it (“Y up” / “Z up”).
  • Test: up-axis-z (also: Z up chosen from the Origin's right-click menu).

The world's up axis: Y or Z

  • Each part can be shown Y up (as before) or Z up: View ▸ Up Axis, or click Y up / Z up in the status bar. With Z up the Top plane is XY, the Front plane XZ and the Right plane YZ, and Z points up; the tree shows each plane's axes beside it. The choice is kept with the part and is used for new parts too.
  • The model stays where it is: only what the axes are called changes, so switching never moves or breaks a feature. Everything that shows or takes world axes follows: the triad and the origin, X / Y / Z directions (patterns, axes, rotations), Move / Copy Bodies' ΔX ΔY ΔZ, a reference point's coordinates, Measure (points and ΔX ΔY ΔZ), Mass Properties (centre of mass, bounding box), 3D sketch coordinates and its Along X / Y / Z and On / Parallel to plane relations, and the Ask Claude panel.
  • Files are written and read in the part's axes: a STEP, STL, OBJ or 3MF exported from a part shown Z up has Z up, and a file imported into it comes in Z up (the import keeps the axes it came in with, so changing the part's up axis later doesn't turn it).
  • Assemblies and drawings show the up axis chosen for new parts (their components' own placements are not renamed yet).
  • Test: up-axis-z (a plate exported Z up and read back into a part shown Y up and one shown Z up; the Top plane named XY; a Move's ΔY kept as RazorCAD's −ΔZ; directions and the triad).

Fixed: two file dialogs open at once froze both

  • Reported on GitHub: several Open File dialogs could be opened together (File ▸ Open, Ctrl+O, the start window, Import, Save As…), and then none of them answered or could be closed, so RazorCAD had to be ended from outside. Only one file dialog is now open at a time: while one is open, another request does nothing (as if it were cancelled), and the open one closes with Cancel, its close button or Esc as usual.
  • Checked: a second request while a dialog is open returns at once, and the next one after it closes opens normally.

Reference planes from sketch entities, sketch patterns along a curve, fillet points by clicking, fixes in the sketcher

From suggestions on GitHub (Discussions):

  • Reference planes from a sketch: a line, a circle or arc (its axis) or a point of a sketch shown in the view can be picked as a reference, alone or with others (normal to the line, through the line and a point, through two lines, at an angle to a plane through the line…). The plane follows the sketch when it changes.
  • Linear Sketch Pattern along a line or curve: select the line or curve with the entities (Ctrl+click it too) and choose it as direction 1: the copies go its way (a line), or follow it at the spacing measured along it (an arc, a circle, a spline), turned with it if wanted. Past an open curve's end no more copies are made.
  • Variable fillet points: Add by Clicking puts a point where you click on one of the fillet's edges; a point's place can also be given in mm from the edge's start instead of %.
  • Fixed: relation symbols of deleted geometry stayed on the screen (they were hidden but their own display style kept them showing); the numbers were right underneath.
  • Fixed: where a control-point spline crosses its own control polygon, a click picked the spline, so the polygon's leg could not be dimensioned there (and a point was dimensioned instead, which came out driven): the leg is picked now.
  • Tests: plane-sketch-refs, sketch-pattern-path, fillet-edge-points (a point given in mm), sketch-stale-labels, sketch-pick-polygon-leg.

Sketching: box selection, Control-Point Splines up to degree 7, Sketch Fillet on arcs

From suggestions on GitHub (Discussions):

  • Box selection in sketches: drag from empty space with Select. Left to right is a window (solid box): what lies wholly inside it is selected. Right to left is crossing (dashed box): whatever it touches is selected. Ctrl or Shift adds to what is selected.
  • Control-Point Spline: degrees up to 7, and the degree can be chosen before drawing, in the panel while the tool is on (a spline with fewer control points gets one degree less than its control points).
  • Sketch Fillet now rounds a corner where a line meets an arc or two arcs meet, not only two lines: the curves are cut back to a tangent arc with the radius dimension, as for lines.
  • Tests: sketch-box-select (a window round a rectangle, crossing over a circle, Ctrl adding; and a spline drawn with the degree chosen first), ctrl-spline (degrees 6 and 7 against a plain de Boor evaluation), sketch-fillet-arcs (a line and an arc, two arcs: tangent to both, the sketch solving).

An example part and a tutorial for the new tools

  • File ▸ Open Example Part (Tutorial) (and Example Part on the start window): a duct lofted from a closed control-point spline up to a circle on a plane moved up and turned with Placement, following a guide curve, with a variable fillet that has a point along its bottom edge; beside it a sheet metal tray whose edge flanges meet corner to corner.
  • Manual: a new chapter, Tutorial: a Guided Loft and a Sheet Metal Tray, builds the same part step by step (also in the online manual).
  • Test: example-part (it rebuilds with no errors: the loft with its guide, the fillet with its point, the tray's four corners closed).

Convert to Sheet Metal: a rip is one cut line in the flat pattern and its DXF, along the bend too

  • Where a converted flange runs flush against the material beside it, the flat pattern no longer has a slot 0.001 mm wide (two lines a hair apart for the laser) but one cut line, on the cut-outs layer (HOLES), as a louver's slit is. It now runs on across the bend as well as along the flange, as far as the bend runs flush too, so the flange really comes free. The outline itself stays whole; the cut length counts the line once.
  • Two flanges that unfold toward each other and fill a slot between them leave one cut line where they meet.
  • Checked against real parts converted alongside another program's flats: a panel with five flanged slots now has the same flat as theirs (the slots fill with their flanges; the area within 0.1 %, the size within what their K-factor gives).
  • Test: convert-flush-flange (also: along each side of the window the cut lines run end to end, none drawn twice).

Variable fillets: radii at points along the edges

  • A Variable size fillet set At vertices and points along edges now also takes points along the edges (from a suggestion on GitHub): Add Point, choose the edge, where along it (a share of its length from its start, in %) and the radius there. The radius runs smoothly along the edge from its start through its points to its end, and each point is marked on the edge in the view while the fillet is edited.
  • The fillet's note says how many points it has.
  • Test: fillet-edge-points (a slot's top edge, lines and arcs in one run: a point a quarter of the way along a line with a radius of 6, on both lines; the fillet is bigger at the marked point than at the mirror point; a point past the edge's end refused).

Install: download RazorCAD-Setup and run it (see "Read me first.txt"). Licensed under the GNU GPL v3 or later.