feat: Add Keyboard Shortcuts and Hollow Pipes implementation#119
Merged
xiangechen merged 1 commit intoxiangechen:mainfrom Jan 29, 2026
Merged
feat: Add Keyboard Shortcuts and Hollow Pipes implementation#119xiangechen merged 1 commit intoxiangechen:mainfrom
xiangechen merged 1 commit intoxiangechen:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request adds support for a new "Pipe" primitive in the Chili3d project, including its modeling logic, UI integration, keyboard shortcuts, and internationalization. It introduces the

PipeNodeclass for pipe creation, updates the ribbon and command system to include the new primitive, and provides translations and shortcut profiles for consistent user experience.Pipe Primitive Feature
PipeNodeclass inpipe.tsthat implements the logic for creating pipe geometries, including support for bend radius, thickness, and hollow pipes. The implementation also handles path filleting and sweep operations.BendTypeConverterinutils/BendTypeConverter.tsfor converting bend type values to user-friendly strings and back.UI and Command System Integration
ribbon.ts, making the pipe primitive accessible from the UI.CommandUtilswith a newgetAllCommandsmethod and exportedshortcutProfilesfor easier command and shortcut management. [1] [2]shortcutProfiles.ts.RibbonButtonto display keyboard shortcuts in tooltips, using the default shortcut profile and observing title changes for dynamic updates. [1] [2] [3]Internationalization
Core and Export Updates
pipe.tsfrom thebodysmodule for use throughout the application.