![]() What I hate about Altium is the transfer process from Schematic to pcb. In some it is not too bad (ie Diptrace), in some it is a pain (Design Spark) & even Target 3001 was not as easy as in Altium. Library component generation is the thing to check out in these low end packages. If you think with a German perspective instead of an American/UK/Australian perspective, you will no doubt be fine (a bit like finding your way around the menus in a Samsung mobile phone before Samsung saw the light & moved to Android). You can do quite a lot with Eagle, but you will hate the user commands if you grew up with Protel/Altium. This may not worry some people of course. so what will happen to the software when he retires? I did not like KiCAD because I have no choice to change the pcb board background colour. It does however cost US$995 & is operated by just one programmer now who is in his late 50's/early 60's. If you grew up with Protel, then Circad is very easy to master as many of the user inputs are the same. They will fix most of these bugs no doubt before the full release which I would expect within the next 3 or 4 months. The new DipTrace beta version has some great screen advances over version 2.3.1.0, but it is full of bugs & I had to uninstall it & remove the registry keys, then re-install last year's full release as the bugs made it unproductive. This allows me to order standard 1oz pcbs which saves money. I often open up some track solder masks so that the wave soldering adds to the current carrying capability of the track (and/or increases the heat dispersal from the attached components) - but you cannot do this in DipTrace so an import into Altium to finish off is required. You can also import DipTrace schematics & pcbs into Altium via the P-Cad format. It operates (from a user's perspective) in many similar ways to Altium & so the learning curve is not too great. I keep an eye on other pcb software packages (it is sort of a hobby) & I have found DipTrace to be about the best of the low end packages. The required points / coordinates are marked as Red color circles in Figure 3.I also use Altium (ver 6.9) for work (but I can use it at home too - it's allowed under their license). So that I can implement the resizing of my components correctly? Let me know is there is any mathematics that can be applied? ![]() How do I calculate the Bounds / Center of the Yellow Rectangle. Bounds of Re-sized rectangle at Rotation = -45 degrees.Bounds of Actual (Not re-sized) rectangle at Rotation = -45 degrees.Bounds of Actual (Not re-sized) rectangle.The obtained rectangle Pink color is shifted upwards compared to the Green rotated rectangle and that is varying depends on the Angle of rotation. In Figure 3 the yellow color rectangle is the Expected/Required out put. Comparison of the obtained and expected rectangle is shown in Figure 3. So the Figure 2's Pink Rectangle should have Left, Right, and Bottom coordinates same as Figure 1's Green Rectangle. Remember I am doing resizing while the component is at rotation angle -45 degrees, so while dragging Top Edge rectangle's Left, Right and Bottom positions should not be changed. The rotated Rectangle is also shown in pink color. Now going to re-size the Top edge of the rectangle and displayed in next Figure 2.įrom the Figure 2 it is understood that the Y position is reduced to 4 from 6. rotated by -45 Degrees, Center is (10,10). Consider the Green Rect as the components initial bounds, ie. The following Figure displays two rectangles whose bounds are also known and displayed in respective colors. I can explain it with the help of some images. I need a math solution to find out the x,y coordinates of a rotated rectangle with respect to the actual rectangle's bounds. The problem is while resizing top edge, the Let, Right and Bottom edges should be fixed, and I cannot able to fix it if the rotation angle is other than 0 degrees. I am using RectF to keep the bounds of the component, For rotation I am using canvas.rotate(angle, bounds.centerX(),bounds.centerY()) method. Consider creating an image view its Top,Right,Bottom, and Left edges are scalable by touching and dragging the required edge. The components are re-sizable and rotatable by touching. I am trying to create custom components in Android using Surfaceview and canvas drawing.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |