Git Product home page Git Product logo

appcsxcad's People

Contributors

awzhy0yqh81uoyvh avatar biergaizi avatar gobers avatar guitorri avatar sibbi77 avatar thliebig avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

appcsxcad's Issues

Polygon visualization artifact

Hi,

for certain polygons the AppCSXCAD is showing a weird artifact - it looks like some vertices are missing.
From the openEMS --debug-PEC dump it seems like openEMS is seeing the correct polygon - just the AppCSXCAD is visualizing it incorrectly.
Maybe related to this http://openems.de/forum/viewtopic.php?f=3&t=444 ?

Should look like this:
image

AppCSXCAD shows this:
image

openEMS PEC dump (white) with AppCSXCAD .stl export (blue) for comparison:
image

I have minimized the test-case into this script:

close all
clear
clc

FDTD = InitFDTD();

CSX = InitCSX();
CSX = AddMetal(CSX, 'metal');
p(1,1) = 0.00457; p(2,1) = 0.00718;
p(1,2) = 0.00457; p(2,2) = 0.00782;
p(1,3) = 0.00492; p(2,3) = 0.00782;
p(1,4) = 0.00492; p(2,4) = 0.00768;
p(1,5) = 0.00551; p(2,5) = 0.00768;
p(1,6) = 0.00551; p(2,6) = 0.00832;
p(1,7) = 0.00492; p(2,7) = 0.00832;
p(1,8) = 0.00492; p(2,8) = 0.00818;
p(1,9) = 0.00457; p(2,9) = 0.00818;
p(1,10) = 0.00457; p(2,10) = 0.00882;
p(1,11) = 0.00398; p(2,11) = 0.00882;
p(1,12) = 0.00398; p(2,12) = 0.00718;
CSX = AddPolygon( CSX, 'metal', 200, 2, 0.00018001, p);

mesh.x = 0:10e-3;
mesh.y = 0:10e-3;
mesh.z = 0:30e-3;
CSX = DefineRectGrid(CSX, 1, mesh);

WriteOpenEMS('model.xml', FDTD, CSX);
CSXGeomPlot('model.xml');

Generated .xml and the script:
appcsxcad_testcase.zip

openEMS version:

---------------------------------------------------------------------- 
 | openEMS 64bit -- version v0.0.35-63-gba793ac
 | (C) 2010-2018 Thorsten Liebig <[email protected]>  GPL license
 ---------------------------------------------------------------------- 
        Used external libraries:
                CSXCAD -- Version: v0.6.2-93-gef6e409
                hdf5   -- Version: 1.10.5
                          compiled against: HDF5 library version: 1.10.5
                tinyxml -- compiled against: 2.6.2
                fparser
                boost  -- compiled against: 1_72
                vtk -- Version: 8.2.0
                       compiled against: 8.2.0

Build instructions

I am trying to build this repo, since the APP is not working for me on Ubuntu 20.04

The INSTALL file, line 9, has this info

  - change directory to QCSXCAD

Is it right, o it should say AppCSXCAD?

2D viewing angle

Is it possible to view the structure in 2D view from the negative of the axis chosen? For instance, if I select 2D and yz, I view the structure from the positive x-axis. Is there a way to flip the structure by 180deg such that I can also view the structure from the negative x-axis? I didn't see anything like this in the GUI. The current best way to achieve this (assuming the feature is indeed not available) is to use parallel projection mode with 3D view and then attempt to line everything up manually. However, this is tricky to do well.

Unicode object names

Create new metal object, name it using Unicode (for example, "Стол 1").

AppCSXCAD will show it as "???? 1" in a property tree and will save it with ISO-8859-1 encoding into XML file (so, there will be something like <Metal ID="2" Name="???? 1">).

It also won't read properly formed UTF-8 XML file and display gibberish characters instead.

I think that AppCSXCAD should use Unicode for storing the object names and for saving the data.

(I am using Windows.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.