Commit Graph

8090 Commits

Author SHA1 Message Date
balazs-bamer
0c76e1f1e1 One step towards the dialog
Problem registering the own ViewProvider
2017-04-17 16:20:44 +02:00
balazs-bamer
90ad7e3470 Next try for showing dialog
Does not work yet.
2017-04-17 16:20:44 +02:00
balazs-bamer
65bd9da6d2 fill type radio buttons - incomplete
I tried to implement a dialog with fill type radio buttons, but no
success yet.
2017-04-17 16:20:44 +02:00
balazs-bamer
328d525a82 Bezier and B spline cleanup, fixed B spline error
I have made further cleanup in Bezier and B spline surface code, and
corrected the bug in face creation for B splines (Nate has also written
that that was incomplete).
2017-04-17 16:20:44 +02:00
balazs-bamer
c85368bfc0 B-spline surface operation enabled
I have converted Nate's b-spline generation to use my superclass
FeatureBSurf and added it to the GUI. Other half-ready operations as
filling and cut are commented out.

Missing:
- the fill type must be queried from the user. The data panel lets it
modify, but it is not user-friendly.
- b-spline surface is generated, but it covers only a fraction of the
supporting curves. It may lie on OCC error.
2017-04-17 16:20:44 +02:00
balazs-bamer
37406a968e Bezier surface: check selected objects
As the GUI selection changes, the Bezier surface tool avaibility is
always updated, so it is active if and only if 2-4 Bezier curves are
selected.
2017-04-17 16:20:44 +02:00
balazs-bamer
1311d5cf2c cleanup: fill type into superclass
Fill type translation gets into superclass BSurf
2017-04-17 16:20:44 +02:00
balazs-bamer
1fb63c097e Refactor and cleanup: FeatureBezSurf
Refactored and cleaned up code for FeatureBezSurf and created a new
common ancestor class for this and FeatureBSplineSurf.
2017-04-17 16:20:44 +02:00
balazs-bamer
186bd33585 WMayer's fix: subshape copy
The subshape is copied to prevent the wire tool from modifying it. This
lets the user modify any supporting Bezier curves and the Bezier surface
will follow them.
2017-04-17 16:20:44 +02:00
balazs-bamer
14014bc61a Fix build failures on Windows by WMayer
Patch request from WMayer to fix build failures on Windows.
2017-04-17 16:20:44 +02:00
balazs-bamer
00f245efdd Transformed Bezier curves work now
One gets the curve and the location from the healed wire. However, the
curve has the original coordinates, the transformation the user used to
obtain it need to be applied before adding it to the surface builder.
2017-04-17 16:20:44 +02:00
balazs-bamer
66e44578f5 Specify edge name correctly
PropertyLinkSubList does not work without a correctly specified edge name.

Signed-off-by: balazs-bamer <kolaloka@freemail.hu>
2017-04-17 16:20:44 +02:00
balazs-bamer
4f96fa2300 Let the Surface workbench appear and try to create a Bezier surface
Modifications for:
 - let the surface workbench appear
 - use only one Surface menu and toolbar instead of two separate ones
 - create a Bezier surface using 2..4 Bezier curves (does not work yet)
 - use enums for fill type

Signed-off-by: balazs-bamer <kolaloka@freemail.hu>
2017-04-17 16:20:44 +02:00
NateAM
6f4e3acce4 Added Surface module
I have added Nate's SurfaceTools module with the name changed to Surface in all files and filenames.
2017-04-17 16:20:44 +02:00
wmayer
6b26fa6ca7 fix segmentation fault in TaskFeaturePick::makeCopy 2017-04-17 11:07:54 +02:00
Yorik van Havre
5f1158ce49 Moving Arch BIMServer, Arch Git and Web Sketchfab to new external WebTools workbench 2017-04-16 16:37:25 -03:00
Yorik van Havre
cf7bc5bdf0 Draft: Clones now adopt color/transparency of their cloned objects on creation 2017-04-16 15:37:34 -03:00
Yorik van Havre
66884ef2c8 Arch: Allow to set which wire cuts the hole in Arch Windows 2017-04-16 14:54:59 -03:00
Yorik van Havre
ff9b027ddb Draft: Adding missing stuff from last commit 2017-04-16 14:09:57 -03:00
Yorik van Havre
fcae6ef451 Draft: Finally fixed Draft UI focus bug - fixes #2810 2017-04-16 14:07:15 -03:00
Yorik van Havre
17b597fb6e TechDraw: Fixed scaling of Draft/Arch views 2017-04-16 13:51:34 -03:00
Yorik van Havre
b7d81a836c Arch: Support for Panels based on other shapes in PanelCut 2017-04-16 13:13:14 -03:00
Yorik van Havre
3b06b86162 Draft: Fixed weaknesses in Draft Edit command 2017-04-16 12:18:21 -03:00
wmayer
9a3b2a976e when removing faces in thickness tool via context menu then remove selection gate 2017-04-15 13:29:19 +02:00
wmayer
eb02efa004 do not use translated text for icon names 2017-04-15 12:58:35 +02:00
wmayer
8f5057a88b readd removed preferences icon for sketcher 2017-04-14 11:57:17 +02:00
Yorik van Havre
b32e9806e1 Arch: Fixed support of v/vt/vn notation in OBJ importer 2017-04-12 20:30:38 -03:00
Abdullah Tahiri
e57dc5c37c Sketcher: change carbon copy alignment by-pass from ALT to ALT+CTRL for Linux compatibility 2017-04-12 14:28:43 +02:00
Abdullah Tahiri
4909c02892 Sketcher: fix incresing bspline degree fails to show new poles 2017-04-12 14:21:54 +02:00
wmayer
c2e83c7818 consistently use term 'B-spline' in the sketcher GUI 2017-04-12 09:37:58 +02:00
Amritpal Singh
10ce910c03 updated recompute() function 2017-04-11 15:23:30 -03:00
Amritpal Singh
91121a8793 added recompute() function to reflect changes in the GUI 2017-04-11 15:23:30 -03:00
Kurt Kremitzki
0a2a02ff2d Fix AddonManager sorting for Macros 2017-04-11 15:10:44 -03:00
Kurt Kremitzki
7e5d0ed0af Fix AddonManager sorting 2017-04-11 15:10:44 -03:00
wmayer
cababe1269 fix scan coverity issues 2017-04-11 19:01:32 +02:00
wmayer
ce36b29cb7 fix scan coverity issues 2017-04-11 15:06:37 +02:00
wmayer
004324bbc5 fix scan coverity issues: uncaught exception 2017-04-11 14:03:08 +02:00
wmayer
292fdebe49 fix scan coverity issues: unchecked dynamic_cast 2017-04-11 12:45:02 +02:00
Abdullah Tahiri
09dfcf6bd7 Part Design: Keep body transparency when adding a new feature
=============================================================

Prior this commit, if a body has transparency (let's say 55%) and a new feature is added, the transparency is lost until you update it again in the body.

This prevents to actually see through while editing the feature (e.g. while setting the length of a pad) and is very annoying as the user
is required to go back to the body properties, where the old value (e.g. 55%) would still be there and change it to another value (56%) to effect it.
2017-04-11 10:41:27 +02:00
Yorik van Havre
fcd459e6e3 AddonManager: Disabling list sorting for now - fixes #3003 2017-04-10 17:56:32 -03:00
Abdullah Tahiri
3b50a786f3 BSpline: Comb representation factor with hystheresis to avoid continuous comb variations on geometrically independent geometry 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
147bf899d5 Sketcher: addGeometry list addition using copy to avoid copying tags 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
96fcedbd30 Sketcher: Carbon Copy - Allow cross-body sketcher links
=======================================================

The instructions are shown on the status bar.

press CTRL to allow cross-body link

press ALT to by-pass directional requirements

press CTRL+ALT to allow a cross-body link and by-pass directional requirements
2017-04-10 18:55:23 +02:00
Abdullah Tahiri
8323917423 Sketcher: Carbon Copy - Correct inverted logic (worked but it is not clear) 2017-04-10 18:55:23 +02:00
Abdullah Tahiri
7818f1f08b Sketcher: Carbon Copy enable checks when not in a body 2017-04-10 18:55:23 +02:00
wmayer
7463aa7efd fixes #0002994: Validate Sketch's missing coincidence tool finds false positives 2017-04-10 17:17:40 +02:00
Abdullah Tahiri
71a555a6bb Sketcher: using copy in addGeometry instead of clone to avoid that python users inadvertendly generate two geometries with the same Geometry tag 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
4fe698e1ee Sketcher: Carbon Copy
=====================

Carbon copy checks for parallel planes, translated origin and rotated axes, so that it can provide flipping detection when using reverse mappings.

This commit enables you to press CTRL will activating the tool in order to bypass this checks. Without the checks you will get a sketch exactly as the one
you want to copy, there are no corrections at all. This enables you to copy a profile on a new plane at a different direction for example for lofting purposes.
2017-04-10 08:57:25 +02:00
Abdullah Tahiri
f6126ba9c0 Part: hiding tag handling functions as protected until a need for them is clear 2017-04-10 08:57:25 +02:00
Abdullah Tahiri
7e37d469da Part: Modify python copy to use c++ copy() instead of clone() 2017-04-10 08:57:25 +02:00