Skip to content

assignments made in src/settings.scad override assignments rather than merely providing defaults #213

@jskubick

Description

@jskubick

What version of OpenSCAD are you on?
current dev commit as of 7/24/2024 (19f0d2f, I believe)

Describe the bug
I'm not really sure whether this is a bug, or just a documentation-deficiency.

To Reproduce

  1. check out the latest version of the repo (19f0d2f, as of today)

  2. edit keys.scad:

// for low-profile Gateron KS-33, which are similar to low-profile Cherry MX
$stem_type = "rounded_cherry";
$stem_inset = -1;
dcs_row(3, 0) legend("x", size=9) key();
  1. Hit f5.

  2. note that the changes to stem_type and stem_inset made in keys.scad are completely ignored.

  3. switch to v2.3.0, make the same changes to keys.scad, hit f5, notice that it now works.

  4. switch back to 19f0d2f, change both values directly in src/settings.scad, and notice that they work.

So... it looks pretty clear that something that changed between v2.3.0 and the latest dev commit is now causing src/settings.scad to override assignments made elsewhere, instead of merely serving as default values if they aren't set elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions