Questions tagged [eyeshot]
Eyeshot is a CAD control for .NET Framework developed by devDept Software. It's integrated into Visual Studio toolbox for WinForms and WPF applications and it targets OpenGL and Direct3D graphics libraries.
109
questions
0
votes
0
answers
9
views
Brep Ruled (Creating brep from 2 surfaces) not creating properly
// Sorting the surfaces by their y positions
var ySurfaces = brep.ConvertToSurfaces().ToList();
ySurfaces.Sort((surface1, surface2) =>
{
surface1.Regen(1);
surface2....
0
votes
0
answers
20
views
How can I get the points on the trimmed surface with eyeshot?
I catch a curve while creating a plane to section with a trimmed cylinder model, I want to get some points both on this curve and on the trimmed surface. for example, point P is a point on the curve, ...
0
votes
0
answers
52
views
Incorrectly difference operation on BREPs
I make a CAD program using eyeshot (2022/2023). From the very beginning I've been facing problems with Boolean operations, in this case the difference operation. To illustrate my problem I prepared a ...
0
votes
1
answer
34
views
How to change BlockReference display color?
When I loaded the drawing (AutoCAD *.dwg), many blocks display as white color so they are not good for readability. I dump their information and I see Color = Color.Black and ColorMethod = ByLayer. ...
-1
votes
1
answer
59
views
while displaying dimensions in the viewport i need to show no of decimal points according to user's wish how to do that?
in eyeshot wpf while displaying the dimensions in the viewport i have to show the decimal digits of dimension according to the decimal points which user entered in the text box of viewport.
for ex: if ...
-3
votes
1
answer
57
views
how to show dimensions of line,arc or any radius in eyeshot
i have a .dxf file if i import that file in my vs code drafting demo wpf sample and if i press a button-1 it should show dimensions of everline present in the viewport. if i press button-2 it should ...
0
votes
1
answer
59
views
Joining two lines using Eyeshot
I am just stating to use Eyeshot. I would like to learn the method to join two line segments. The documentation does not show a join but does of union on a region. But I am unclear how the two ...
0
votes
0
answers
33
views
Does function Solid.Intersection() change input parameters?
I try to understand if it's necessary to clone solid objects, before calling Solid.Intersection().
Next test (prepared with help of ChatGPT) doesn't work.
I test Eyeshot v8.0.265.0.
[Test]
public void ...
0
votes
1
answer
68
views
Difference between entities in Design.Entities and SkectchManager.Entities
I am new to using Eyeshot from devDept and as I read through the documentation and examples one of the things that I have noticed is that some of the examples add entities to the Design.Entities ...
0
votes
0
answers
28
views
Buttons stop responding to touch after viewportlayout has been loaded
I have an app running on Windows tablets. In some situations, possibly with more complex drawings, touch on the app becomes disabled once the ViewportLayout has been loaded.
I load the ViewportLayout ...
0
votes
0
answers
29
views
How to determine if a Text is in the extent of a LinearPath
How to determine if a Text is in the extent of a LinearPath?
I don't know how to get the location of Text and LinearPath.
0
votes
1
answer
89
views
Close a Mesh in EyeShot
I'm triying to merge 2 meshes in EyeShot to calculate the volume of the intersecction and difference between this solid and another one. I need the resulting mesh to be closed.
I try this to merge the ...
3
votes
2
answers
745
views
Running library for framework 4.8 for a .NET 6 API
I've seen a few conflicting answers about this topic so I'm hoping someone can lead to the right one. I'm building an API that uses devdept Eyeshot library. This library requires .net framework 4.8. I ...
0
votes
2
answers
85
views
Getting object reference error on a base.Method() in release mode
I'm using Eyeshot 12 to render a 3D Model for my app. The model works fine in debug mode, but throws an object reference error if I try to zoom in on the model using the mouse wheel in release mode.
...
2
votes
1
answer
312
views
How do I unlock Eyeshot in C# console-app
I’m a student doing a project with the company. As part of this project, I’m developing a console application using eyeshot 2021. I’ve used an activation key before for a WPF project and that ...
0
votes
1
answer
122
views
How to rotate a region in Eyeshot so that its plane normal is equal to a vector?
I need to draw a prism between 2 point. So I have defined a Region like this:
Region r1 = Region.CreateRectangle(Model.Width, Model.Height);
r1.Translate(point1);
Now I need to rotate r1 to face ...
0
votes
0
answers
79
views
I would like to know why the description of the step file is changed
I open and use the .step file exported from eyeshot. The exported .step
file seems to change the property information as shown below.
Example:
FILE_DESCRIPTION(('STEP AP214'),'1');
-> ...
0
votes
0
answers
93
views
Does Eyshot have any function to auto join the lines?
Given 3 lines as shown in the image, I would like to automatically make them connect to each other to a single point, given some threshold for movement. Assuming that the other endpoint cannot be ...
0
votes
1
answer
101
views
How do I force the cursor to move Horizontally Drafting Demo 2022.2 using Shift Key?
In the drawing DrawInteractive mode, I understand there is a snap option design1.GridSnapEnabled = true; for the MyDesign:Design design1 to ensure the line can be drawn as a straight line. However for ...
0
votes
1
answer
95
views
Is it possible to create a new Block from a VectorView of a 3D model?
Assume I have a 3D model imported from a step file. I have
Design design1 to work with a 3D imported model.
Drawing drawing where I create my 2D VectorView topView
Design design2 where I work on my ...
0
votes
1
answer
122
views
Eyeshot Sketcher Demo 2022.2 - how to change the position of a dimension constraint?
This is a current look of a dimension where the text is placed completely above the dimension line. How do I change the text position so it is placed at the middle of the dimension line? This may ...
0
votes
1
answer
160
views
Is it possible to implement an infinitive grid?
I am searching for a 2D.Net package to replace some basic functions of AutoCAD (the company I work for has multiple licenses of AutoCAD but what people do are quite simple and I think the compmay get ...
0
votes
1
answer
210
views
Intersection of Entities
I want to create a while loop to Translate some entities which have intersections with each other. But the Entity.Intersects() method is protected. Is there any other solution to find intersections ...
0
votes
1
answer
220
views
How to handle error ": 'Control's handle must be created first.'"?
I ran into an error Control's handle must be created first. The code returns the error
model1.SetView(viewType.Trimetric, true, false);
I already tried model1.CreateControl(); before the code ...
0
votes
1
answer
138
views
How to properly convert Solid.Section() results into Regions in Eyeshot?
When trying to get a section of a devDept.Eyeshot.Entities.Mesh or devDept.Eyeshot.Entities.Solid using the .Section(Plane, double) method, we get an ICurve[].
If the result is multiple closed curves, ...
0
votes
1
answer
166
views
How to merge two Regions in EyeShot?
I'm working on a program where I need to merge two devDept.Eyeshot.Entities.Regions.
Is there a method or function built in EyeShot to do this automatically, or should I do it manually?
0
votes
1
answer
92
views
Only one (first) overlay item is painted, the rest are not
Eyeshot 11.847; Good afternoon, I've run into a problem that for some reason the internal fill has only one (first) OverlayItem (and all small circles should be filled). Here is a code snippet in ...
0
votes
1
answer
309
views
Eyeshot Devdept 2022 mesh simple cylinder surface
I am using Devdept 2022.
The problem is I cannot mesh a simple cylinderical surface without getting negative Jacobian errors.
Process:-
I am using is to convert surface to Brep, then Brep to mesh and ...
0
votes
0
answers
44
views
How to fix any design like 'pattern' on Design model at specific location like how we see shortcut keys at top of the model
So what I want is an orientation functionality, and that will look like a small compass at the bottom of the model view, it will always remain visible and fixed at that location and only work when the ...
1
vote
1
answer
121
views
How to export EMF files from eyeshot in the background?
I want to export an emf image file from eyeshot in background, but can not generate it successfully.
Here is my code:
using (devDept.Eyeshot.Design VP = new MyDesign())
{
VP.CreateControl();
...
0
votes
1
answer
133
views
[eyeshot]How can I add a new Viewport into a viewer
what is the best way to add a new viewport into the viewer with the same drawing?
Regards Jürgen
0
votes
1
answer
94
views
Thickness to linear path
I can use some help to get thickness to a linear path solid. Creating the linear path model (in this case a metal flashing part) works as intended, but it has no thickness, which I like to have as ...
0
votes
1
answer
144
views
How to multi clipping object in eyeshot
I found the clipping object in the eye shot sample, but there was no multi-clipping.
Also, I need to clip the x-plane and y-plane, but I can't find this information.
How can I multi-clip with an eye ...
0
votes
1
answer
151
views
Is there a way to get LOD from eyehots?
I want to implement LOD in eyeshot.
Do eyeshot have features like RayCast in your eyehot?
Or is it possible to find a list of entities displayed in the camera?
0
votes
1
answer
222
views
ZoomFit error when using Eyeshot 2021 on Windows Server
Good afternoon,
I am trying to use Eyeshot in a .NET Framework Web Application to create a Bitmap image. The steps of the process in my code are the following: I generate all the necessary Entities ...
0
votes
2
answers
88
views
Pictures inserted on some computers are not clear
I insert the picture into the eyeshot. The inserted picture is as clear as the source picture, but on a few computers, the picture will become particularly blurred. I send the customer's system ...
0
votes
1
answer
144
views
How to change position of Mesh.CreateBox
What is the way to set the Position (x, y, z) after create a mesh
on create
var pb1 = Mesh.CreateBox(8000, 400, 300);
pb1.Color = Color.FromArgb(255, (byte)rand.Next(255), (byte)rand.Next(255), (...
1
vote
1
answer
150
views
How to draw a finite line in Eyeshot 12
I need to draw a line representing a z-axis from the origin up x units. I was able to create an xy plane by assigning one to Model.Grid.Plane. For context I will be building a point cloud to insert as ...
0
votes
1
answer
379
views
How to check a point is inside a surface in devdept eyeshot
I want to to see if a point is inside a trimmed surface or not. In the following pictures, I think that I have a surface which has a hole inside and also a point shown as red. How to check that the ...
0
votes
1
answer
111
views
How to prevent rotate on Eyeshot?
My eyeshot project is to show the .dwg file.
But when touch the screen the screen rotate.
I want change rotate event to a pan event at native touch move event. Is this possible?
If is this impossible ...
0
votes
0
answers
80
views
How to find out which surface the surface is under?
I need to which surface the surface is under using eyeshot library. Below code is not working correctly.
public static Point3D[] GetPolygon(List<ICurve> trimmingContourList, Point3D[] vertices)
{...
0
votes
1
answer
102
views
Eyeshot component RenderToBitmap resolution
I am trying to generate a picture of my 3D model using the ViewPortLayout
ViewportLayoutBinding viewportLayout;
....
viewportLayout.RenderToBitmap(1,false)
but the picture i obtain has a low ...
0
votes
1
answer
319
views
How can I get curve entities to be visible on both sides of a surface entity?
I'm fairly new to eyeshot so if I'm missing something obvious please say.
I have a blended surface that I intersect with a plane to try and get "grid" lines on my surface. The trouble is the ...
0
votes
1
answer
258
views
What is the correct way to remove an entity and all of its collection data?
In Eyeshot, what is the best way to remove an Entity from the Model that is a BlockReference?
Are there methods to help clean up all the Blocks based on BlockReference?
// assume "model1" is ...
0
votes
2
answers
122
views
Is it possible to activate the animated busy/progress indicator outside of a WorkUnit?
I would like to activate the spinning progress indicator and specify a message on the Eyeshot control to provide feedback to the user when other long running processes are occurring that are related ...
0
votes
1
answer
174
views
Is that possible to show huge point cloud with billions of points in Devdept eyeshot control like other point cloud software
When I tried Fastpointcloud with 1 million points, it is very slow when I zoom or pan. Could you please let me know is there any way to show billion of points in Devdept eyeshot control like other ...
0
votes
1
answer
188
views
How to run eyeshot in docker
I'm trying to run a .net 4.8 application written in C# in a windows docker container.
I'm using eyeshot 2021
Dockerfile:
FROM mcr.microsoft.com/dotnet/framework/runtime:4.8
COPY . .
Application code:
...
0
votes
1
answer
136
views
Can an entity's sub entity could be selected?
I created several entities and add the block reference of them to another entity. And then I will rotate and translate the parent entity. But I want to use mouse to select those sub entities added to ...
-1
votes
1
answer
193
views
Can a label be translated or rotated with an entity?
I want to rotate or translate my entity, but its label cannot be moved together like an entity's sub entity. If there is no an easy way to implement this, I have got to create a point and then rotate ...
-1
votes
1
answer
97
views
Missing Eyeshot register in the toolbox
I'm using Visual Studio 2017 and 2019 at this time.
After Installation of Eyeshot Pro 2021 there is no entries in the toolbox.
The strange thing is, that a manual insert does'nt work.
If I rename a ...