Skip to content

Fix: Use float defaults (0.0) in APoint to ensure correct type inference & Feature : added send_command() and send_commands() functions

Choose a tag to compare

@Jones-peter Jones-peter released this 06 Aug 11:02
· 14 commits to master since this release

πŸ›  Release Notes – v0.1.10

✨ New Features

  • Added send_command() and send_commands() methods
    These methods allow you to programmatically send command strings to the AutoCAD command line:

    • send_command(command_string) β€” sends a single command (asynchronously).
    • send_commands(commands) β€” sends a sequence of command strings in order.

    ⚠️ Note: These operations are asynchronous; commands requiring user interaction or long processing may need delays or alternative handling.


πŸ› Bug Fixes

  • Fixed default value types in APoint constructor
    Changed default x, y, z values from 0 to 0.0 to ensure proper float type inference. This resolves unintended behavior where arguments were inferred as integers.
    Thanks to @Thomas737 for spotting this!

Full Changelog: v0.1.9...v0.1.10