Jordan Brown

Results 19 issues of Jordan Brown

For `sphere(10, $fn=100)`, binary STL export using ``` openscad -o /tmp/a.stl --export-format=binstl /tmp/a.scad ``` takes about 0.3 seconds, but ASCII STL export takes about 5.5 seconds. (That's for the entire...

Type: Enhancement
Tag: Performance
Comp: Import/Export

Adds a new parameter `em` to `text()`, `textmetrics()`, and `fontmetrics()`. Where `size` has a 100/72 error and only accidentally more or less matches the height of a capital letter, `em`...

That seems like a pretty blunt statement, but after some analysis I come to the conclusion that it's true: OpenSCAD text processing scales the text wrong by about 30%. If...

... which is a little confusing if you only have one tab (and so don't even have a tab bar visible).

Type: Enhancement

One of my correspondents was asking about `use` and `include`. I wrote: > "include" is absolutely straightforward. When file A includes file B, it is exactly as if B was...

`search()` is very fast, but is very difficult to understand and very easy to use incorrectly. It seems like it would be good to have a replacement that is fast...

Type: Enhancement

To iterate on a design now requires: * F6 (render) * F7 (export as STL) * Enter (to save as the same name as last time) * Y (to confirm...

Type: Enhancement

Text spacing is applied between Harfbuzz-generated glyphs. In a font with ligatures, multiple letters can combine into one glyph, so the spacing does silly things. ```text("difficult", font="Palatino", spacing=2);``` yields ![image](https://user-images.githubusercontent.com/31949071/129524433-2433b051-aafb-466c-8e35-db83aa00f61b.png)...

This PR incorporates module literal work by @kwikius , the object() function by @revarbat , and the render() function by @sublim9 . This is NOT final. It includes a number...

Fixes lexer to count lines properly in files with \n, \r\n, and \r line breaks. (\r line breaks are used only in some old or obscure systems, but what the...