Commit Graph

1944 Commits (a0219b222878b68174bac800a6a664774cdfc906)

Author SHA1 Message Date
77maxikov a0219b2228 dimonly fix 2023-01-17 19:16:36 -05:00
phkahler 4a34253a37 Don't try to drag points with pt-coincident constraint to a previous group. Fixes #1012 and makes dragging as done in one of the tutorials possible again. 2023-01-17 19:12:06 -05:00
ruevs b4be656f25
Update CHANGELOG.md 2023-01-11 22:58:30 +02:00
77maxikov 7b6a85da5a UI: Add constraining multiple points coincident 2023-01-11 22:35:07 +02:00
ruevs 6487fb890e UI: Adjust the menu items "Angle" and "Equal..." to match current state. 2023-01-11 22:27:07 +02:00
ruevs bacc0b66bd UI: Adjust the hints for creating constraints
...for equal circles/arcs and angles.
2023-01-11 22:18:19 +02:00
Paul Kahler 3ee3561153
Update CHANGELOG.md 2023-01-11 12:42:08 -05:00
Paul Kahler a1be8a8d6a
Update CHANGELOG.md 2023-01-11 11:54:51 -05:00
ruevs f22ebf2a54 UI: Adjust the hints for creating constraints
...to match the new multi(variadic) constraints.
2023-01-11 10:31:45 +02:00
phkahler 20e3d15f90 Use N for equal angle constraints. Allows 3 or 4 line segments to be set equal length all at once. 2023-01-10 16:17:57 -05:00
Koen Schmeets 10cb310f18
Try to use SNAPCRAFT_STORE_LEGACY_CREDENTIALS for now 2023-01-08 13:06:08 +01:00
Koen Schmeets 1827d154c8
Fix snap release (#1323) 2023-01-08 02:33:15 +03:00
phkahler a71e4bef81 allow equal angle constraints when 3 or 4 lines selected. Variadic constraints broke this feature by make equal length lines in those cases. 2023-01-07 15:35:50 -05:00
phkahler 3833dd0246 Allow point-on-face for up to 3 faces at once 2023-01-02 17:25:31 -05:00
ruevs 3609f8a7e9 Use a lambda to list selected faces when multiple faces are selected. 2023-01-02 17:25:31 -05:00
ruevs aee47a42c6 Clean up face selection code 2023-01-02 17:25:31 -05:00
ruevs adb2768154 Draw up to three selected faces 2023-01-02 17:25:31 -05:00
phkahler 7d5eaffa89 Add ability to select 3 faces 2023-01-02 17:25:31 -05:00
phkahler 105a350ccd change/fix some undo behavior in variadic constraints 2023-01-02 15:28:58 -05:00
phkahler 0db1f6bacd Fix H/V constraints on points and allow more than 2 points 2023-01-02 15:28:58 -05:00
phkahler a5809891d6 fix several crashes on constraint creeation 2023-01-02 15:28:58 -05:00
77maxikov 3d3d5c789d Sync multiconstraint with current state 2022-12-31 15:20:34 -05:00
ruevs 50cbecbe72 Web: Adjust the scroll wheel sensitivity for zooming. 2022-11-06 04:34:04 +02:00
ruevs 6fc84ae2ce Web: Remove the device pixel ratio workaround for Android tablets.
Afetr the `GetDevicePixelRatio` function was fixed to return `double`
`useWorkaround_devicePixelRatio` is not needed any more so remove it.

See the discussion in #1310 pull request for details.
2022-11-06 03:42:23 +02:00
ruevs c53c592dbe Platform: Fix GUI scaling on devices with non-integer pixel ratio
The fuction GetDevicePixelRatio now returns a `double` instead of an `int`.
This should allow the scaling of the GUI on devices where the pixel ratio
is non integer to work properly. For example a monitor on Windows where the
DPI is not a multiple of 96. It may help with the Web Emscripten port on
tablets and phones as well.

In addition on Windows the mouse wheel delta calculation is fixed.
2022-11-06 01:51:25 +02:00
ruevs 31ac8083ae ru_RU: Enhance russian translation
Besed on pull request #1290.
2022-11-05 19:53:18 +02:00
verylowfreq 1603402df2 Web: Improve file dialog. 2022-11-05 19:26:01 +02:00
verylowfreq 4981570844 Web: Improve touch support and layout. 2022-11-05 19:26:01 +02:00
verylowfreq b5cde57bb6 Web: Some fix for critical runtime error and cleanups. 2022-11-05 19:26:01 +02:00
verylowfreq cf597277fa Web: Initial support for touch devices. 2022-11-05 19:26:01 +02:00
verylowfreq 64948c4526 Web: Add opening/saving file support.
- Opening file is implemented as uploading.
- Saving file is implemented as downloading.
  - The filename is suffixed with current date and time.
2022-11-05 19:25:54 +02:00
ruevs 56b9d36030 Remove superfluous #include <iostream> introduced in 4fc0141 2022-11-05 19:15:13 +02:00
Eldritch Cheese 4fc0141a5e [Graphics][Bugfix] "Nearest Isometric" respects turntable navigation
Prior to this commit, the "Nearest Isometric" GUI command searched all
24 possible isometric views.  When using turntable navigation, this
could result in the z-axis no longer being oriented vertically.  This
commit restricts the views being searched while in turntable
navigation mode to those that follow this restriction.
2022-11-05 12:14:28 -04:00
TristeFigure d50e2b2a43 Fix "Constraintes" type in French locale 2022-11-05 12:12:39 -04:00
Val Lorentz 5c899617b4 fr_FR: Replace straight quotes with angular quotes
This is more common in French.
2022-11-05 12:12:21 -04:00
Val Lorentz d1d7ae690b fr_FR: Add missing translations, and review existing ones. 2022-11-05 12:12:21 -04:00
Val Lorentz fc55990f21 fr_FR: Complete menu translation and fix inconsistencies
Including translations of other parts of the UI refering to menus
with a different name.
2022-11-05 12:12:21 -04:00
Val Lorentz 014dd43cf4 fr_FR: Fix spacing before punctuation marks
';', ':', '!', and '?' should always follow a non-breaking space
2022-11-05 12:12:21 -04:00
Val Lorentz 08c787f749 fr_FR: Change list item prefix
1. Use regular spaces instead of non-breaking, like English
2. Use en dashes instead of stars, which are more common in French
   typography as bullet style
2022-11-05 12:12:21 -04:00
Adam Novak 3dc4d0e640 Allow all linkable files as missing files to fix #1297 2022-10-18 18:51:39 -04:00
Loïc Bartoletti 6b9e7b2eec CMake: Add FindCairo.cmake to fix build on FreeBSD 2022-10-18 13:24:44 -04:00
Val Lorentz 574fc0190a Fix inconsistent French translation of "Rotate Imported"
"Rotation Importation 90°" was the only noun group in this part
of the menu.

This replaces it with an infinitive group like the rest of the menu,
which is also easier to understand.
2022-10-11 13:55:13 -04:00
Val Lorentz a873cee637 Fix typos 2022-10-11 13:53:45 -04:00
Val Lorentz f9a7a96108 Fix French translations of "Step"
"Step" has plenty of meanings, and the wrong one was used here:
"espacement" roughly means "spacing", which is very confusing for the
"Step dimension" feature, and weird for "Step translation"/"Step rotation".

Instead, I chose to translate it as:

* "Pas-à-pas" for the former, which is a noun for lack of a verb that fully
  captures the meaning, which literally translates to "step-by-step".
  "Pas-à-pas" is also the common translation of "Step debugging" in
  programming.
* "Répétiter par" for the latter, which is a verb (+ adverb) which literally
  translates to "Repeat by" and is the most natural way to phrase this.

As a side-effect, I made a key binding consistent with English.
2022-10-11 13:53:45 -04:00
ruevs bce25bb0e2
README: Move the check out instructions to one place. (#1285) 2022-09-03 19:32:54 +03:00
verylowfreq f7415048a5 Web: Emscripten port updated to current tools. Add saving of options in local storage. 2022-08-21 14:13:22 +03:00
whitequark 5ca6d04e02 Add a very experimental Emscripten port.
Web: Emscripten port updated to current tools. Add saving of options in local storage.

U  Web: Emscripten port updated to current tools. Add saving of options in local storage.
2022-08-21 13:36:50 +03:00
Adam Strzelecki cf4defcd47
mac: Distinguish trackpad from Magic Mouse scroll (#1274)
This is the second attempt to distinguish trackpad scrolling that when used
should yield panning from Magic Mouse scrolling that should control zoom.

Since trackpad will begin with a touch prior to the scroll event, but Magic
Mouse not, we can use it to make sure we trigger panning only on a trackpad.

Previous "mac: Don't interpret single-touch scroll events as pan gestures"
that was flawed was reverted which ultimately lead to being unable to zoom using
Magic Mouse.
2022-08-18 00:15:14 +02:00
Maximilian Federle c65e31bece snap: Port to core22
- Migration according to https://forum.snapcraft.io/t/micro-howto-migrate-from-core20-to-core22/30188
- Also declare all snaps stable
2022-08-09 13:49:00 -04:00
ruevs bc4244e099 Win32, MSVC: Enable Multi-processor Compilation (/MP) with Visual Studio
Makes compiling from the Visual Studio IDE much faster when using the
solution and projects generated by cmake.

For the externals I hijack the `disable_warnings` function.
2022-07-08 18:43:16 -05:00