Creating a 3-D Cylinder

I want to 'draw' a vertical cylinder in 3-D to use as a pedestal on which to display various sculpture pieces. Using the ellipse tool, I have created a relatively flat ellipse in Layer 1 and have painted it a light gray to represent the top of the pedestal. In Layer 2, I created a rectangle shape and filled that with a vertical gradient, light to dark to light, so that the rectangle appears to look round. When I set Layer 1, the ellipse, on top of the rectangle, it appears that I have a round cylinder, BUT the bottom is still flat. I need to create another ellipse of greater depth (because of the increased angle in the perspective) to make the bottom round so the composite image appears as a cylinder with an elliptical top and bottom. I can do that by creating an ellipse on a Layer 3, making the Layer 2 dominant so as to hide the top of the ellipse---BUT I need to match the gradation that is in Layer 2 so that the exposed bottom half of the ellipse is a continuation of the vertical gradation on the body of the cylinder. Any suggestions? Am I making this too hard? Is there an easier approach?

Ned,
A tutorial for this is available in a book by Al Ward, ISBN: 0-7645-
2597-2. He covers cylinder construction in detail, and from the CD, which comes with the book, one can load a tube gradient.
http://www.wiley.com/WileyCDA/WileyTitle/productCd-0764525972.html
Your library may have it. I did not see it listed by Amazon.
Ken

Similar Messages

  • How to create a curved-type cylinder

    We can create the basic geometries easily with J3DAPI , but how to create a curved-type geometry such as cylinder ?
    Searching for help ....
    Thanks a lot for giving any tips or information about it !

    With the idea of "Divide & Conquer" , I has a rough solution.
    Edited by: DragonWarrior_CHN on Mar 19, 2010 2:22 AM

  • MetaDB issue - Solaris 10u8 x86

    Hi all,
    I am running Solaris 10u8 x86 on VMware.
    I am trying to configure SVM in my virtual machine and meet the following issue about metadb.
    I have 01 HDD which contains Solaris OS, swap... and 03 more HDDs for holding data. I did not do anything on the first HDD. The other 3 HDDs will be configured to be a RAID 5 volume using SVM. (I will call these 3 HDDs disk2, disk3 and disk4)
    On the disk2, I created slice 7 from cylinder 3 to cylinder 10 for holding metadb. I also created the slice 0 from cylinder 11 to the end of the HDD for to be a component of the RAID 5 volume. (In this case, the location of the slice 7 for metadb is *"before"* the location of the slice 0)
    The VTOC of the disk2 is applied to the disk3 and disk4.
    After dividing the 3 HDDs into slices. I created the metadb on the slice 7 of the 3 HDDs. After that I created the RAID 5 volume using the slice 0 of the 3 HDDs. However, after I reboot the machine, it said that my RAID 5 volume is not exist. the metadb command showed that there is no metadb.
    I tried to test another case. On the disk2, I created slice 7 from cylinder 1000 to cylinder 1200 for holding metadb. I also created the slice 0 from cylinder 1 to cylinder 999 for to be a component of the RAID 5 volume. (In this case, the location of the slice 7 for metadb is *"after"* the location of the slice 0)
    After dividing the 3 HDDs into slices. I created the metadb on the slice 7 of the 3 HDDs. After that I created the RAID 5 volume using the slice 0 of the 3 HDDs. After rebooting the system everything went fine. My metadb is exist and the RAID 5 volume can be mounted and used.
    I cannot find any reason why I could not place the slice 7 (which holds metadb) *"before"* the other slices which used to hold data.
    Please help me to explain this case.
    Thanks and BR.
    HuyNQ.

    Solaris makes one of the partitions active , Take a note of that.
    Once you are done tinkering with the partitions/ loading say Windows/Linux follow this step.
    Grab any Linux distro's boot CD and start the rescue mode. type grub and do this
    root (hd0, X) X the partiton that has linux partition minus 1
    setup (hd0)now open fdisk and change the label of the Solaris Partition to 80.
    Add an entry in /boot/grub/menu.1st on the same lines like Windows, If unsure google .
    Reboot and you are done.
    Never I said never make any other partition active other than what Solaris installation does for you.

  • AI 3D extrusions - lines / streaks / striations in PDF format file

    OS: Win 7 / 64
    AI:  CS5  15.0.2
    Acrobat: 9.4.6
    I am attempting to create a shaded vertical cylinder using AI's 3D extrusion function.
    When shading is applied to the object, I am getting lines / streaks / striations in the PDF format file when viewed in Acrobat.
    JPG and PNG exports do not exhibit the lines / streaks / striations.
    The error is appearing in cylinders oriented vetically. It is not appearing in cylinders rotated to a non-vertical angle.
    Sample files:
    http://www.ideatoexit.com/images/adobe/cylwork-08-diffuse.pdf
    http://www.ideatoexit.com/images/adobe/cylwork-08-plastic.pdf
    http://www.ideatoexit.com/images/adobe/cylwork-08-none.pdf
    http://www.ideatoexit.com/images/adobe/cylwork-08-diffuse-rotated.pdf
    http://www.ideatoexit.com/images/adobe/cylwork-08-diffuse-rotated.jpg
    http://www.ideatoexit.com/images/adobe/cylwork-08-diffuse.jpg
    http://www.ideatoexit.com/images/adobe/cylwork-08-plastic.jpg
    http://www.ideatoexit.com/images/adobe/cylwork-08-diffuse.png
    Screen shot of Acrobat showing error:
    JPG file:
    Acrobat screen shot of rotated cylinder:

    Monika,
    Monika Gause wrote:
    In print this shouldn't be a problem. On screen it is because of screen-anti-aliasing.
    Unfortunately, this is not the case.
    I received the test prints back and they exhibit exactly the same errors as the PDF file viewed on screen.
    scan files of sample prints from PDF file (sorry for the multiple pages, the test print is too big to fit on my scanner):
    http://www.ideatoexit.com/images/adobe/cylwork-12-testprint-scan.pdf
    http://www.ideatoexit.com/images/adobe/cylwork-13-testprint-scan.pdf
    The effect is reduced by selecting "draw hidden faces," but not eliminated. The number of blend steps also affects the amount of the error that is manifested, but again, does not eliminate the error.
    The only way to eliminate the error is to use the exact same color for both stroke and fill.
    Depending on the shape, that may or may not be an issue.
    The Illustrator and Acrobat product teams will need to fight it out as to which is responsible for the error but from the customer perspective, the error has only one logo: Adobe.

  • Solaris8 Install Help

    My install runs happily until the actual software starts to get written to my drive (CD#1). The install program displays a message that it is deleting the solaris partition, then immediately says it is creating a solaris partition, with a final error message that there is not enough disk space to create the partition.
    Up to this point I had successfully created a 5GB FAT32 partition, and a 5GB Solaris partition (from which CD#0 created a 10MB boot partition).
    I don't understand why there is a problem, and would appreciate any assistance. Thank you.

    Fdisk from Solaris can't create partition from arbitrary cylinder address (may be for some types of disks). You can check it, by creating partition by hand and varying starting cylinder.
    Sometimes fdisk from DOS creates partition, which ending address don't
    like Solaris's fdisk. If you use authomatic Web installation, Solaris's fdisk, after deleting, can't create partition, which starts from next cylinder, that have next number after end of FAT32. Fdisk crush, but intallator thinks that there is no free space to create boot partition.
    To avoid:
    1) Boot from Software 1 disks and open command tool.
    2) Create x86 boot partition (10MB) and Solaris partition by hand. If boot partition don't create, increase starting cylinder and try again.
    3) Start installation from Software 1 disk. Do not use Web install. In this case installation program put Solaris into partitions just created.
    Vitaly Filatov, Moscow, Russia

  • Bootcamp 5.1.1 on Mac Pro Cylinder can't install Windows 8

    Hi,
    I've gone through almost every discussion regarding the common issue "Windows coud not update the computer's boot configuration" but none is related to Bootcamp version 5.1.1 and latest Mac Pro cylinder.
    I already tried the solution presented by Jarvil at this discussion: https://discussions.apple.com/message/23545780#23545780
    Based on Jarvil's solution there is a very important thing that is not happening in my case, that is that I never get the option to boot from the "Windows" partition. I only have 3 options, 1) Macintosh HD 2) Recovery 3) EFI Boot.
    By not having the option to boot from Windows partition I automatically deviate from Jarvil's solution.
    So, I proceed with EFI boot, I reach the step where I have to select the partition and I pick the 4th partition and it says that Windows can't be installed in this partition so I delete/format it and proceed with installation and it goes all well until the very end where it's finishing the install that I get the message:
    "Windows coud not update the computer's boot configuration".
    I also tried skipping the install --> login into Mac OS X --> Disk Utility --> Delete partition --> Create ExFAT partition (tried FAT also) --> Reboot --> EFI Boot (Windows partition still not available) --> Format partition --> Proceed with install --> Same error again.
    After the error, it reboots and then I get a blue screen (**** Windows blue screens) with a message:
    Recovery
    Your PC Needs to be repaired
    The Boot Configuration Data file is missing some required information.
    File: \BCD
    Error code: 0x0000034
    You'll need to use the recovery tools on your installation media. If you don't have any installation media (like a disc or USB device), contact your system administrator or PC manufacturer.
    So I reboot holding Option key and now the partition Windows appears and if I boot from it I get the same blue screen with the recovery error. So I reboot again and login into OSX, go to Disk Utility and delete the "Untitled" partition and I recreate it using ExFAT but then it gets stuck "Preparing to partition disk".
    I'm attaching snapshots.
    I really hope that someone from Apple support can provide a solution. Thank you very much in advance.
    Alejandro

    It's not an Apple response but it is something which worked for me. This is an exerpt from a post I made on another site. It's a bit involved and you may think this should not be necessary (and you'd be right) but if you want to try it you're welcome. No guarantess.
    Install Windows again just like you did before with Bootcamp (but you may have to remove any traces of it first).
    So starting again with Bootcamp Assistant and with Macintosh using the whole disc again begin the process.
    Allow Windows to be installed as normal.
    When the BCD error box opens up DO NOT click on OK - immediately do a hard shutdown of the Mac by holding the power button. This is so the changes are not rolled back.
    Start up the Mac again holding the Alt key and choose the USB EFI Boot option in the boot menu (it will be orange). At this point if you get a Windows blue screen error shutdown and take out the USB then restart the machine holding Alt and at the boot menu plug in the USB again and do the above.
    At the installer's start screen press shift + F10 to get a command prompt.
    In the command prompt type
    diskpart and hit enter
    type
    list volume  and hit enter
    Note the volume letters and numbers of all the volumes .  One should be an EFI partition of type FAT32 and it will have no drive letter.
    Now type
    list volume and hit enter (note the letters and numbers of the displayed volumes) One will be your EFI partition of FAT32 type and it will have no letter, just a number.
    type
    select volume X (where X is the number of your EFI partition) and hit enter
    type
    assign letter=B and enter
    type
    exit and enter
    type
    bcdboot C:\Windows /l en-GB /s B: /f ALL   *** note the /l en-GB is for locality and language and will default to English US if not changed. Obviously you need to change to your own locale and language code***
    press enter (after checking all spaces etc). You may also struggle to find the \ key on your keyboard, it may change position once in command prompt!.
    After a few seconds it should report that the boot files were written. If it does that you can type in
    wpeutil reboot and press enter at which point your Mac will reboot. Hold the Alt key and choose your new EFI Boot option and hopefully Windows will boot.
    Obviously all of this can be a little daunting and should not be taken on lightly. Having said that Windows is not currently installing and you've got nothing to lose. You can always go back to what you have now (with TM backups of course, and maybe even without).
    Good luck

  • Error when trying to create a Files System with newfs

    HI,
    I am running Solaris 8 on a Sun Ultra 10 workstation
    I am in the process of configuring the slices on my primary 20 gig hard drive. I have partitioned the hard drive as follows.
    # prtvtoc /dev/dsk/c0t0d0s2
    * /dev/dsk/c0t0d0s2 (volume "edi_main") partition map
    * Dimensions:
    * 512 bytes/sector
    * 63 sectors/track
    * 16 tracks/cylinder
    * 1008 sectors/cylinder
    * 39535 cylinders
    * 39533 accessible cylinders
    * Flags:
    * 1: unmountable
    * 10: read-only
    * First Sector Last
    * Partition Tag Flags Sector Count Sector Mount Directory
    0 2 00 27265392 12583872 39849263 /
    1 2 00 0 1049328 1049327
    2 5 00 0 39849264 39849263
    3 2 00 1049328 26216064 27265391 /edi
    The root filesystem was created at installation, and I executed newfs on partition 3 to create the /edi filesystem, and both of them are mounted. I now need to create a filesystem on slice 1 but the newfs command is not working. I get the following output from newfs:
    # newfs -v /dev/dsk/c0t0d0s1
    newfs: /dev/dsk/c0t0d0s1: Unable to read Disk geometry
    Could someone tell me what is wrong with this partition.
    Any help would be appreciated.

    I e-mailed tech support and got my answer.
    I should have been using /dev/rdsk and not /dev/dsk when specifying the disk slice to put the file system on.

  • Can You Create Trend Line in CFCHART?

    Have pretty much got CF7 Charts and WebCharts3D down, at
    least to the point where they can do what I need the most. However,
    the one thing I'd like to be able to do, but not sure if it's
    possible, is create a TREND LINE.
    This would be a LINE charts with 2 series. The first series
    would be a line with the actual counts covering a period of time.
    I'd like to add a 2nd line, using the same data from the
    first series, but have it displayed as a TREND line. In Excel, you
    can easily create a TREND line, it's even offered as an option.
    I've seen somehwere (CFCHART or WebCharts3D) something to so
    with "logarithmic" options, which is one of the options for Excel
    charts.
    Two more quick questions:
    Q1. Is there any way to control the margin between the left
    and right borders of the charts, and the bars? Have tried
    experimenting, but can't seem to get this to work. Reason is, when
    I try to show a chart in 3D, the first bar on the left is "butted
    up" against the left chart border. Would like to add a little space
    there.
    Q2. Rather than display rectangular bars, I'd like to display
    rounded cylinders. I've tried setting the chart type in CFCHART to
    "cylinder" but it still displays a bar. When I try to change the
    type to "cylinder" in WebCharts3D, the chart STILL displays
    rectangular bars. Yet I've seen many examples of rounded, cylinder
    bars.
    Don't mean to push my luck with too many questions. Thanks
    for any advice, help.
    Gary

    Trend Lines:
    CFChart does not do trend lines of any type. However, it is
    not too difficult to compute the regression of your choice and to
    plot it as a second series.
    Logarithmic:
    Not sure what you are asking here.
    In theory, cfchart does do log-lin and log-log charts.
    However, it is so buggy, and the scaling problems are so
    great, that we have never been able to get it to work well.
    We use ChartDirector for anything that requires a log scale.
    Side margins:
    You cannot control these directly. Here are some workarounds:
    For "Category" axis:
    Make sure the "isBucketed" property is set to true (this is the
    default).
    If that is not enough, add extra bars to your data series,
    usually value zero. It's not ideal but it may be good enough.
    For "Scale" axis:
    Usually this works well enough. Otherwise, try toggling the
    "isAbsolute" property.
    The only other recourse is to manually scale the plot using the
    "scaleMin" and "scaleMax" properties. This can be a real pain for
    obvious reasons and also because cfchart scaling is fraught with
    bugs and "quirks".
    Cylinder Bars:
    These work. Perhaps there was a setting conflict within the
    XML or between the CFChartSeries setting and the XML?
    Also the cylinders will only look round when 3D is turned on.
    (Side view of a cylinder is just a shaded bar.)
    Anyway, I've said it before: cfchart is barely usable for a
    very limited range of charts.
    For real business or common engineering and scientific needs,
    you need to step up to something better.
    The package we use (has all the features and very reasonably
    priced) is ChartDirector (
    http://www.advsofteng.com/cdcoldfusion.html).
    (And, no, I'm not affiliated.)

  • How to correctly allocate size while creating FileSystem

    I am finding difficulty in creating and allocating correct size to File Systems on solarix x86 box. Please see below contents I followed on screen and in the end It shows that /app file system is created of size 135GB , I wanted it to be 30gb as mentioned during 'format' command in 'Enter Partitiion size' :
    root@unknown # df -k
    Filesystem kbytes used avail capacity Mounted on
    /dev/dsk/c0t0d0s0 15496821 7472292 7869561 49% /
    /devices 0 0 0 0% /devices
    ctfs 0 0 0 0% /system/contract
    proc 0 0 0 0% /proc
    mnttab 0 0 0 0% /etc/mnttab
    swap 17574616 808 17573808 1% /etc/svc/volatile
    objfs 0 0 0 0% /system/object
    /usr/lib/libc/libc_hwcap2.so.1
    15496821 7472292 7869561 49% /lib/libc.so.1
    fd 0 0 0 0% /dev/fd
    swap 17573844 36 17573808 1% /tmp
    swap 17573840 32 17573808 1% /var/run
    root@unknown # format
    Searching for disks...done
    AVAILABLE DISK SELECTIONS:
    0. c0t0d0 <DEFAULT cyl 17832 alt 2 hd 255 sec 63>
    /pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@0,0
    1. c0t2d0 <DEFAULT cyl 17846 alt 2 hd 255 sec 63>
    /pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@2,0
    2. c0t3d0 <DEFAULT cyl 17845 alt 2 hd 255 sec 63>
    /pci@0,0/pci1022,7450@2/pci1000,3060@3/sd@3,0
    Specify disk (enter its number): 0
    selecting c0t0d0
    [disk formatted]
    Warning: Current Disk has mounted partitions.
    /dev/dsk/c0t0d0s0 is currently mounted on /. Please see umount(1M).
    /dev/dsk/c0t0d0s1 is currently used by swap. Please see swap(1M).
    FORMAT MENU:
    disk - select a disk
    type - select (define) a disk type
    partition - select (define) a partition table
    current - describe the current disk
    format - format and analyze the disk
    fdisk - run the fdisk program
    repair - repair a defective sector
    label - write label to the disk
    analyze - surface analysis
    defect - defect list management
    backup - search for backup labels
    verify - read and display labels
    save - save new disk/partition definitions
    inquiry - show vendor, product and revision
    volname - set 8-character volume name
    !<cmd> - execute <cmd>, then return
    quit
    format> p
    PARTITION MENU:
    0 - change `0' partition
    1 - change `1' partition
    2 - change `2' partition
    3 - change `3' partition
    4 - change `4' partition
    5 - change `5' partition
    6 - change `6' partition
    7 - change `7' partition
    select - select a predefined table
    modify - modify a predefined partition table
    name - name the current table
    print - display the current table
    label - write partition map and label to the disk
    !<cmd> - execute <cmd>, then return
    quit
    partition> p
    Current partition table (original):
    Total disk cylinders available: 17832 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 root wm 524 - 2482 15.01GB (1959/0/0) 31471335
    1 swap wu 1 - 523 4.01GB (523/0/0) 8401995
    2 backup wm 0 - 17831 136.60GB (17832/0/0) 286471080
    3 unassigned wm 2483 - 4441 15.01GB (1959/0/0) 31471335
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    8 boot wu 0 - 0 7.84MB (1/0/0) 16065
    9 unassigned wm 0 0 (0/0/0) 0
    partition> 3
    Part Tag Flag Cylinders Size Blocks
    3 unassigned wm 2483 - 4441 15.01GB (1959/0/0) 31471335
    Enter partition id tag[unassigned]: usr
    Enter partition permission flags[wm]:
    Enter new starting cyl[2483]: 2483
    Enter partition size[31471335b, 1959c, 4441e, 15366.86mb, 15.01gb]: 30gb
    partition> p
    Current partition table (unnamed):
    Total disk cylinders available: 17832 + 2 (reserved cylinders)
    Part Tag Flag Cylinders Size Blocks
    0 root wm 524 - 2482 15.01GB (1959/0/0) 31471335
    1 swap wu 1 - 523 4.01GB (523/0/0) 8401995
    2 backup wm 0 - 17831 136.60GB (17832/0/0) 286471080
    3 usr wm 2483 - 6399 30.01GB (3917/0/0) 62926605
    4 unassigned wm 0 0 (0/0/0) 0
    5 unassigned wm 0 0 (0/0/0) 0
    6 unassigned wm 0 0 (0/0/0) 0
    7 unassigned wm 0 0 (0/0/0) 0
    8 boot wu 0 - 0 7.84MB (1/0/0) 16065
    9 unassigned wm 0 0 (0/0/0) 0
    partition> label
    Ready to label disk, continue? y
    partition>q
    root@unknown # newfs /dev/rdsk/c0t0d0s2
    newfs: construct a new file system /dev/rdsk/c0t0d0s2: (y/n)? y
    Warning: 5208 sector(s) in last cylinder unallocated
    /dev/rdsk/c0t0d0s2: 286471080 sectors in 46627 cylinders of 48 tracks, 128 sectors
    139878.5MB in 2915 cyl groups (16 c/g, 48.00MB/g, 5824 i/g)
    super-block backups (for fsck -F ufs -o b=#) at:
    32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
    Initializing cylinder groups:
    super-block backups for last 10 cylinder groups at:
    285576352, 285674784, 285773216, 285871648, 285970080, 286068512, 286166944,
    286265376, 286363808, 286462240
    root@unknown # mount /dev/dsk/c0t0d0s2 /app
    root@unknown # df -k /app
    Filesystem kbytes used avail capacity Mounted on
    /dev/dsk/c0t0d0s2 141066718 65553 139590498 1% /app
    root@unknown #
    Please advice, what is wrong I am doing above?

    panchpan wrote:
    THANKS a lot - The size allocation is resolved now :-) Please see few questions, perhaps I missed to have this basic knowledege
    1) How to create more than 7 partitions?
    2) Slice 9 seems to be unassigned. But I am not able to allocate 9 - It says '9' is not expected as shown below:
    Part Tag Flag Cylinders Size Blocks
    0 root wm 524 - 2482 15.01GB (1959/0/0) 31471335
    1 swap wu 1 - 523 4.01GB (523/0/0) 8401995
    2 backup wm 0 - 17831 136.60GB (17832/0/0) 286471080
    3 usr wm 2484 - 6400 30.01GB (3917/0/0) 62926605
    4 usr wm 2485 - 3790 10.00GB (1306/0/0) 20980890
    5 usr wm 2486 - 5096 20.00GB (2611/0/0) 41945715
    6 usr wm 2487 - 5097 20.00GB (2611/0/0) 41945715
    7 usr wm 2488 - 5098 20.00GB (2611/0/0) 41945715
    8 boot wu 0 - 0 7.84MB (1/0/0) 16065
    9 unassigned wm 0 0 (0/0/0) 0
    partition> 9
    `9' is not expected.
    3) How to give different names in 'Tag'?
    4) How to know actually, How much size can be distributed among user defined partitions?
    5) On solaris, How do we actually verify IF mirroring is in place?1) You create a really big slice and use soft partitioning. Otherwise 7 hard partitions are all you can assign.
    2) That's an alternate system partition. You can't touch it and there's only 2 cylinders in it anyway.
    3) There are only certain values that are legal. You generally don't adjust them.
    4) Slice 2 is the entire usable space. That tells you how much you can distribute among the 7 (0,1,3,4,5,6,7) partitions/slices available to you. In your case; that's about 137 GB.
    5) It isn't by default. You have to take positive actions with either Logical Volume Manager (aka Solstice Disk Suite for us old school guys) or some other form of volume manager. LVM is free with the OS and does a great job of mirroring the OS. I personally wouldn't use it for managing a form of disks; but it's perfect for the OS mirroring.
    Edited by: John.Kotches on Nov 12, 2007 12:46 PM

  • I m trying to write to a Mainframe file from informatica mapping. I have created the data map for tarrget file and have imported it in informatica designer.After completing the mapping when i try to run it gives me below error. Please help me out in resol

    This is not a PC/PWX problem, but a mainframe security problem. TIDSS01.POS.IBD.DR0100.DAT is not a GDG file name.It might be the base for a GDG. A GDG file name would look something like eitherTIDSS01.POS.IBD.DR0100.DAT(+1)orTIDSS01.POS.IBD.DR0100.DAT.G001V00 So I suspect that you have the wrong file name.Please talk with your mainframe team.

    HI Dan, I am very new to using power exchnage please help me through this issue, Below is the details : My data map name :postest.test1_POS
    Copy book name which is used to create the power exchange Datamap : TIDSS01.ACTRLP.TEST(POSCPY)
    Main frame GDG name : TIDSS01.POS.IBD.DR0100.DAT Below are the Session properties i have set in informatica workflow:Schema Name Override : postest
    Map Name Override : test1_POS
    PWX Partition Strategy : Overrides driven
    Space : CYLINDER
    File Name Override :TIDSS01.POS.IBD.DR0100.DAT(+1)
    I am getting below error: PWXPC_12190
    Message: [ERROR] Transformation [test1_POS]: A permanent error has been encountered in PowerExchange: [
    [Informatica][SCLI PWX Driver] PWX-00267 DBAPI Error. DB_INSERT failed for file postest.test1_POS.
    [Informatica][SCLI PWX Driver] PWX-01279 DBNTC INSERT failed for file postest.test1_POS. Rcs 1274/2019/268.
    [Informatica][SCLI PWX Driver] PWX-01274 DBNTC INSERT Failed for file postest.test1_POS, rcs 260/2019/268.
    [Informatica][SCLI PWX Driver] PWX-02019 SQL insert failure. SQLCODE = 268.
    [Informatica][SCLI PWX Driver] PWX-00268 DBAPI Error. DB_OPEN failed for file TIDSS01.POS.IBD.DR0100.DAT.
    [Informatica][SCLI PWX Driver] PWX-00220 DYNALLOC failed for file TIDSS01.POS.IBD.DR0100.DAT RCs = 9700/0.
    [Informatica][SCLI PWX Driver] PWX-00221 DATA SET: TIDSS01.POS.IBD.DR0100.DAT WITH RETURN CODE 08 REASON CODE 00   
    [Informatica][SCLI PWX Driver] PWX-00221 RACF FUNCTION: RACDEF FOR   
    [Informatica][SCLI PWX Driver] PWX-00221 IGD308I DATA SET ALLOCATION REQUEST FAILED -   
    [Informatica][SCLI PWX Driver] PWX-00221 IKJ56893I DATA SET TIDSS01.POS.IBD.DR0100.DAT NOT ALLOCATED+   
    [Informatica][SCLI PWX Driver] PWX-07404 Permanent error set by Open call on file "TIDSS01.POS.IBD.DR0100.DAT" because dynamic allocation failed. rc=4
    [Informatica][SCLI PWX Driver] PWX-07515 Insert call for table postest.test1_POS met a permanent error. Return codes 267 2019 268.
    ]

  • Creating a simple splash screen

    Hi,
    I'm trying to create a simple splash screen with maybe a button. When this is pressed, the next thing shown in the application window should be the cylinder with my picture of Arizona on it.
    Can anyone help?
    Also trying to place a new image onto the cylinder shape when the Open button is pressed in the FileChooser dialog box.
    Could someone help with this problem, I'm not sure what else is required.
    Thanks.
    import com.sun.j3d.utils.geometry.Cylinder;
    import com.sun.j3d.utils.image.*;
    import com.sun.j3d.utils.universe.*;
    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.event.*;
    import com.sun.j3d.utils.applet.MainFrame;
    import java.io.*;
    import java.util.*;
    import javax.media.j3d.*;
    import javax.vecmath.*;
    import java.awt.Container;
    import javax.media.j3d.Group;
    import com.sun.j3d.utils.image.TextureLoader;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar.*;
    import javax.swing.JMenuItem;
    //import javax.swing.JSlider;
    import javax.swing.*;
    import javax.swing.filechooser.*;
    import java.awt.event.ActionEvent;
    import java.awt.event.WindowAdapter;
    public class ProjectCylinder extends JApplet
    // Variable declarations
    JMenuBar menuBar;
    JMenu jMenu, jSubMenu;
    JCheckBoxMenuItem cbMenuItem;
    JRadioButtonMenuItem rbMenuItem;
    Container C=getContentPane();
    //JSlider sliderbar;
    // To setup the menu bar, options etc.
    public void init()
    new ProjectCylinder();
    //Create a file chooser
    final JFileChooser fc = new JFileChooser();
    menuBar = new JMenuBar();
    menuBar.setPreferredSize(new Dimension(400, 20));
    setJMenuBar(menuBar);
    JMenuItem jMenuItem;
    // Building the File menu
    jMenu = new JMenu("File");
    jMenu.setMnemonic(KeyEvent.VK_F);
    menuBar.add(jMenu);
    jMenuItem = new JMenuItem("Open...", new ImageIcon("A:/open.gif"));
    jMenuItem.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    int returnVal = fc.showOpenDialog(ProjectCylinder.this);
    if (returnVal == JFileChooser.APPROVE_OPTION)
    try
    File file = fc.getSelectedFile();
    // in here is supposed to be the functionality of putting a new image onto the cylinder
    catch(FileNotFoundException f)
    // do something here
    jMenuItem.setMnemonic(KeyEvent.VK_O);
    jMenuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_T, ActionEvent.ALT_MASK));
    jMenu.add(jMenuItem);
    jMenu.addSeparator();
    // File Save
    jMenuItem = new JMenuItem("Save", new ImageIcon("A:/save.gif"));
    jMenuItem.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    int returnVal = fc.showSaveDialog(ProjectCylinder.this);
    if (returnVal == JFileChooser.APPROVE_OPTION)
    File file = fc.getSelectedFile();
    //this is where a real application would save the file.
    jMenuItem.setMnemonic(KeyEvent.VK_O);
    jMenuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_T, ActionEvent.ALT_MASK));
    jMenu.add(jMenuItem);
    // File Close
    jMenuItem = new JMenuItem("Close");
    jMenuItem.setMnemonic(KeyEvent.VK_O);
    jMenuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_T, ActionEvent.ALT_MASK));
    jMenu.add(jMenuItem);
    jMenuItem = new JMenuItem("Exit", KeyEvent.VK_T);
    jMenuItem.setMnemonic(KeyEvent.VK_T);
    jMenuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_T, ActionEvent.ALT_MASK));
    jMenu.add(jMenuItem);
    C.add("South", menuBar);
    //sliderbar = new JSlider(JSlider.HORIZONTAL, 0, 30);
    //menuBar.add(sliderbar);
    //C.add("South", menuBar);
    // end init
    public BranchGroup createSceneGraph()
    BranchGroup objRoot = new BranchGroup();
    TransformGroup objScale = new TransformGroup();
    Transform3D t3d = new Transform3D();
    t3d.setScale(1.2); //Size of cylinder
    objScale.setTransform(t3d);
    objRoot.addChild(objScale);
    TransformGroup objTrans = new TransformGroup();
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_WRITE);
    objTrans.setCapability(TransformGroup.ALLOW_TRANSFORM_READ);
    objScale.addChild(objTrans);
    // Set up the colours
    Color3f black = new Color3f(0.0f, 0.0f, 0.0f);
    Color3f white = new Color3f(1.0f, 1.0f, 1.0f);
    Color3f red = new Color3f(0.7f, .15f, .15f);
    // Set up the texture map
    TextureLoader loader = new TextureLoader("A:\\Arizona.jpg","LUMINANCE", new Container());
    Texture texture = loader.getTexture();
    texture.setBoundaryModeS(Texture.WRAP);
    texture.setBoundaryModeT(Texture.WRAP);
    texture.setBoundaryColor( new Color4f( 0.0f, 1.0f, 0.0f, 0.0f ));
    // Set up the texture attributes
    TextureAttributes texAttr = new TextureAttributes();
    texAttr.setTextureMode(TextureAttributes.MODULATE);
    Appearance ap = new Appearance();
    Material mat = new Material();
    ap.setTexture(texture);
    ap.setTextureAttributes(texAttr);
    //set up the material
    ap.setMaterial(new Material(white, red, white, red, 1.0f));
    // Create a cylinder
    int primflags = Cylinder.GENERATE_NORMALS +Cylinder.GENERATE_TEXTURE_COORDS;
    Cylinder CylinderObj = new Cylinder(0.5f, 0.5f, primflags, ap);
    objTrans.addChild(CylinderObj);
    //Add to scene graph
    BoundingSphere bounds =new BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
    //Shine coloured lights
    Color3f lColor1 = new Color3f(0.7f, 0.0f, 0.7f);
    Color3f lColor2 = new Color3f(0.7f, 0.7f, 0.0f);
    Vector3f lDir1 = new Vector3f(-1.0f, -1.0f, -1.0f);
    Vector3f lDir2 = new Vector3f(0.0f, 0.0f, -1.0f);
    DirectionalLight lgt1 = new DirectionalLight(lColor1, lDir1);
    DirectionalLight lgt2 = new DirectionalLight(lColor2, lDir2);
    lgt1.setInfluencingBounds(bounds);
    lgt2.setInfluencingBounds(bounds);
    objScale.addChild(lgt1);
    objScale.addChild(lgt2);
    // Let Java 3D perform optimizations on this scene graph.
    objRoot.compile();
    return objRoot;
    } // end BranchGroup createSceneGraph
    public ProjectCylinder()
    C.setLayout(new BorderLayout());
    Canvas3D c = new Canvas3D(null);
    C.add("Center", c);
    // Create a simple scene and attach it to the virtual universe
    BranchGroup scene = createSceneGraph();
    SimpleUniverse u = new SimpleUniverse(c);
    u.getViewingPlatform().setNominalViewingTransform();
    u.addBranchGraph(scene);
    } // end ProjectCylinder
    public static void main(String argv[])
    BranchGroup group;
    new MainFrame(new ProjectCylinder(), 300, 300);
    } // end void main
    } // end class ProjectCylinder

    Yeah I thought JWindow should be used, but it's getting it into my project that is the real problem.

  • Creating Custom Solaris 9 x86 boot CDs

    Does anyone know how to create custome Solaris 9 boot CDs for the x86 platform? I want to try and remove some of the packages that I don't need and see if I can get the boot CDs down to 1 CD (as I did with the Solaris Sparc version). I tried the steps layed out in "Building a bootable JumpStart Installation CD-ROM", but the CDs do not appear to be in the correct format. If I put these new CDs into a SPARC station, they appear to be layed out correctly. After some research I determined that the x86 CDs use El Torito with the .boot-image in the s2 slice, but it still doesn't work.
    Here are the steps I have tried:
    From the Jumpstart whitepaper
    1. Extract slice 2 from the CD: find . -print | cpio -pudm /bicd/s2
    2. Stop volume management: /etc/init.d/volmgt stop
    3. Extract slice 0 from the CD: dd if=/dev/dsk/c1t0d0s0 of=/bicd/s0.image
    4. Modify /bicd/s2
    5. Make an ISO file: mkisofs -R -d -L -l -o /bicd/s9.image -B /bicd/s0.image /bicd/s2
    6. Burn the CD: cdrw -i s9.image
    I modified step 5 for an El Torito image:
    Make an ISO file: mkisofs -R -d -L -l -o /bicd/s9.image -B /bicd/s0.image -b .boot-image /bicd/s2
    The Jumstart whitepaper says to extract the vtoc separate, then calculate the cylinder boundaries and include it on the new CD. Whenever I include the extracted vtoc, the CD is completely unreadable. If I leave this step out of the Solaris Sparc version, everything works okay.
    Any help would be appreciated. Thanks.

    Does anyone know how to create custome Solaris 9 boot CDs for the x86 platform? I want to try and remove some of the packages that I don't need and see if I can get the boot CDs down to 1 CD (as I did with the Solaris Sparc version). I tried the steps layed out in "Building a bootable JumpStart Installation CD-ROM", but the CDs do not appear to be in the correct format. If I put these new CDs into a SPARC station, they appear to be layed out correctly. After some research I determined that the x86 CDs use El Torito with the .boot-image in the s2 slice, but it still doesn't work.
    Here are the steps I have tried:
    From the Jumpstart whitepaper
    1. Extract slice 2 from the CD: find . -print | cpio -pudm /bicd/s2
    2. Stop volume management: /etc/init.d/volmgt stop
    3. Extract slice 0 from the CD: dd if=/dev/dsk/c1t0d0s0 of=/bicd/s0.image
    4. Modify /bicd/s2
    5. Make an ISO file: mkisofs -R -d -L -l -o /bicd/s9.image -B /bicd/s0.image /bicd/s2
    6. Burn the CD: cdrw -i s9.image
    I modified step 5 for an El Torito image:
    Make an ISO file: mkisofs -R -d -L -l -o /bicd/s9.image -B /bicd/s0.image -b .boot-image /bicd/s2
    The Jumstart whitepaper says to extract the vtoc separate, then calculate the cylinder boundaries and include it on the new CD. Whenever I include the extracted vtoc, the CD is completely unreadable. If I leave this step out of the Solaris Sparc version, everything works okay.
    Any help would be appreciated. Thanks.

  • Create filesystems on Solaris 10 x86

    Hi All,
    I am not expert in Solaris, I just want to add an external
    disk (via San) to a Solaris 10 x86 system.
    When I execute #format, have the following :
    0) c1t0d0 ....
    2) c4t60060160D9E01D009AAB136E0F54DE11d0
    /Scsi_uhci/disk@g60060160d9ede11
    When I choose number 2, the very disk, I have the following :
    Selecting c4t60060160D9E01D009AAB136E0F54DE11d0
    [disk formatted]
    /dev/dsk/c4t60060160D9E01D009AAB136E0F54DE11d0s2
    is part of SVM volme stripped : d7
    Please see metaclear.
    Then I execute "verify" at the format Promp and got :
    Part Tag Flag Cylinder Size
    0 Unassigned wm 0 0
    1 Unassigned wm 0 0
    2 Backup wu 0-17442 133.62Gb
    3 Unassigned wm 0 0
    4 Unassigned wm 0 0
    5 Unassigned wm 0 0
    6 Unassigned wm 0 0
    7 Unassigned wm 0 0
    8 Boot wu 0 7.84Mb
    9 Unassigned wm 0 0
    My problem is to create 2 partitions, one of 70Gb and the
    other one is the rest of the disk, then create filesystems on
    them, how to proceed ?
    Thanks
    Bandon

    Hi All,
    I am not expert in Solaris, I just want to add an external
    disk (via San) to a Solaris 10 x86 system.
    When I execute #format, have the following :
    0) c1t0d0 ....
    2) c4t60060160D9E01D009AAB136E0F54DE11d0
    /Scsi_uhci/disk@g60060160d9ede11
    When I choose number 2, the very disk, I have the following :
    Selecting c4t60060160D9E01D009AAB136E0F54DE11d0
    [disk formatted]
    /dev/dsk/c4t60060160D9E01D009AAB136E0F54DE11d0s2
    is part of SVM volme stripped : d7
    Please see metaclear.
    Then I execute "verify" at the format Promp and got :
    Part Tag Flag Cylinder Size
    0 Unassigned wm 0 0
    1 Unassigned wm 0 0
    2 Backup wu 0-17442 133.62Gb
    3 Unassigned wm 0 0
    4 Unassigned wm 0 0
    5 Unassigned wm 0 0
    6 Unassigned wm 0 0
    7 Unassigned wm 0 0
    8 Boot wu 0 7.84Mb
    9 Unassigned wm 0 0
    My problem is to create 2 partitions, one of 70Gb and the
    other one is the rest of the disk, then create filesystems on
    them, how to proceed ?
    Thanks
    Bandon

  • Create ASM disks on Solarix X64 fails with ORA-15031

    I am trying to create a ASM disk group on SOLARIS x64 using a NETAPP LUN. Below are the disks which are configured
    SQL> show parameter asm;
    NAME TYPE VALUE
    asm_diskgroups string DATA
    asm_diskstring string /dev/rdsk/c2t9*
    asm_power_limit integer 1
    asm_preferred_read_failure_groups string
    bash-3.00# ls -ltr /dev/rdsk/c2t9d0s7
    lrwxrwxrwx 1 root root 80 May 22 16:27 /dev/rdsk/c2t9d0s7 -> ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    bash-3.00# ls -ltr ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    crw-r----- 1 oracle dba 32, 583 May 22 16:56 ../../devices/iscsi/[email protected]%3Asn.157399130103EC,99:h,raw
    I get these errors when I try to create a disk group
    SQL> create diskgroup DATA external redundancy disk '/dev/rdsk/c2t9d0s7';
    create diskgroup DATA external redundancy disk '/dev/rdsk/c2t9d0s7'
    ERROR at line 1:
    ORA-15018: diskgroup cannot be created
    ORA-15031: disk specification '/dev/rdsk/c2t9d0s7' matches no disks
    ORA-15025: could not open disk '/dev/rdsk/c2t9d0s7'
    ORA-15056: additional error message
    Solaris-AMD64 Error: 13: Permission denied
    Additional information: 42
    Additional information: 198045856
    Additional information: 198045848
    Please help.

    My guess is that you did not run fdisk and partition off the first 1M and ASM overwrote the VTOC rendering the device useless.
    fdisk
    create new partition
    primary partition 1
    start 2 end <last cylinder>
    Then point your disk string to these partitions (<diskname>p1?)
    Once this is done, I ALWAYS test to make sure the oracle AND grid user can read and write to this device from ALL nodes. I use the dd command to do this.
    DO NOT DO THIS ON AN ALREADY CONFIGURED AND FUNCTIONING ASM DEVICE. Doing so will erase the device.
    make a file in $HOME that contains one line:
    cat <<EOF >> $HOME/x.x
    this is a test
    EOF
    node1
    dd if=$HOME/x.x of=<disk???p1> bs=20 count=1
    node2
    dd if=<disk???p1> of=$HOME/y.y bs=20 count=1 ##y.y should be the contents of node1:x.x
    node1
    dd if=/dev/zero of=<disk???p1> bs=8192 count=1000 ## erase the device for ASM usage.
    Fix any read/write issues before proceeding.

  • How to create simple 3D illustrations?

    Hello!
    Please, take a look at this image:
    I am looking for a way to create these simple kinds of 3D illustrations. I use Illustrator myself in my daily work, but almost never for 3D (probably because I almost never create any 3D material).
    My question is really about whether Illustrator is a good tool for creating these kinds of illustrations, or if anyone in here could direct me to a software program that is really good at this particular graphic?
    Thank you!

    To "project" anything drawn in-the-flat onto the top plane of an isometric cube:
    1. Rotate the artwork 45°
    2. Scale to 100% horizontal, 57.74% vertical ( because .5774 is the sine of the isometric angle, 35°16'').
    So in your diagram, you can save yourself some time by drawing the whole thing in the flat (all the base circles and the connector lines), selecting it all, and performing the two steps.
    With circles, the advantage of first rotating to 45° is that the anchorPoints of the resulting isometric ellipses will be oriented on the isometric axes, providing snap-to locations for alignment to other isometric edges. Alternatively, apply Object>Path>Add Anchor Points to the circle either before or after the vertical scale. That will add anchorPoints at the middle of each segment, and after scaling vertically, you'll have anchorPoints at the major diameter, minor diameter, and isometric diameters.
    If you then want to use true proportion for the height of the cylinders, move copies of the isometric ellipses vertically a distance of true measure multiplied by .8165—cosine of the isometric angle—(or scaled to 81.65% vertically).
    Example: Assume you want a properly-proportioned cylinder of diameter 1.25" and length .375".
    1. Draw a 1.25" circle.
    2. Scale it vertically 57.74%.
    3. DoubleClick the black pointer tool. In the move dialog, key your true-length measure (.375), followed by a multiplication symbol (*), followed by .8165. Then cllick the Copy button.
    4. White pointer: Select the bottom anchorPoint of both ellipses. Copy. Paste In Front.
    5. Press Ctrl and tap J twice (shortcut for Join). That gives you the side of the cylinder, to which you can now apply a horizontal linear grad.
    So you could draw that whole diagram in a matter of minutes and end up with properly-proportioned heights (if it matters), and end up with clean & tidy path constructions to which you can apply ordinary linear grads, instead of having the possibly hundreds of paths which 3D Effect will ultimately produce.
    On the other hand, you could also simply go ahead and use 3D Effect in its Isometric Top preset orientation, for each of the differently-shaped objects. Then store them as Symbols. Then stack and arrange Instances of the Symbols to construct the diagram.
    Example: Assume you want to draw the object that is labeled Supplier in your screenshot in numerical diameter-to-height proportion, with diameter 1" and height .5".
    1. Draw the green, blue, and orange objects in the flat. (Radial Grid tool would be handy for this.) Give them solid fills, no strokes. Group them.
    2. Proportionally scale the set of circular shapes to 72 pts (which is 1").
    2. Effect>3D>Extrude & Bevel. Select Isometric Top from the popup menu. Set the Extrude Depth to 36 pts (which is .5").
    3. Drag the result to the Symbols palette.
    4. Arrange as many instances of the Symbol as needed in the diagram.
    In other words, as long as you measure dimensions of the base paths in points, the Extrude Depth setting in 3D Extrude & Bevel is proportional.
    JET

Maybe you are looking for

  • Can I restore a previous library from my iPhone?

    So.. I am on the verge of tears right now, I think I just lost over 1000 songs that I had on my phone.. I'm selling my old iPhone, so I backed it up and restored everything on the new one, but for some reason only 1 artist is in my library now. I wen

  • Create document with PL/SQL xml parser

    Hello, I'm trying to create a document with PL/SQL package xmldom on 8.1.7 and write to a file. The problem is that my file is empty when it's created. Can anyone send me an example of this simple problem or fullfill my example so it's works. As you

  • Moved 8.1 - Nodemanager starts but does not work... SSL problem..

    Hello! We moved our weblogic 8.1 installation to a new production machine (which used to be very easy with weblogic 5.1) but of course, it didn't work because of the SSL demo certificates which were tied to the old server name. It dumped the followin

  • Can I install Solaris 8 against an NT4 DNS Server?

    Does anyone know whether this is possible using a plain vanilla NT4 PDC installation, including DNS Server service and a standard Solaris 8 installation on an Ultra 5 Sun box? Both will be running on a class C IP address, 192.168.0.x Is there anythin

  • Change Browser Language with Javascript

    Hey I need to change the language of the user in the portal , using two small links , EN | PT  if the user clicks EN the browser language will be EN_US else pt_PT how can i do something like this? i'm looking for javascript solution mainly or anythin